Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.187/0.187, allocations: 38.51 MB / 349.4 MB, free: 2.602 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 59.78 kB / 487.8 MB, free: 32.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 62.42 MB / 0.5374 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003811/0.1141, allocations: 2.123 MB / 0.5394 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.1174, allocations: 2.093 MB / 0.5415 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.1175, allocations: 3.938 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1177, allocations: 11.92 kB / 0.5415 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1178, allocations: 27.83 kB / 0.5415 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1201, allocations: 0.8422 MB / 0.5424 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1203, allocations: 83.62 kB / 0.5424 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1203, allocations: 8.172 kB / 0.5424 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1205, allocations: 43.83 kB / 0.5425 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.1206, allocations: 35.83 kB / 0.5425 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1206, allocations: 4 kB / 0.5425 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.1232, allocations: 1.618 MB / 0.5441 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1232, allocations: 15.92 kB / 0.5441 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1233, allocations: 11.88 kB / 0.5441 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.1252, allocations: 1.329 MB / 0.5454 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1252, allocations: 0 / 0.5454 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1252, allocations: 0 / 0.5454 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1252, allocations: 0 / 0.5454 GB, free: 1.234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007476/0.1259, allocations: 0.5191 MB / 0.5459 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.126, allocations: 8.031 kB / 0.5459 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.126, allocations: 4.188 kB / 0.5459 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.126, allocations: 34.75 kB / 0.546 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1261, allocations: 4.891 kB / 0.546 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.1263, allocations: 195 kB / 0.5462 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.1263, allocations: 0 / 0.5462 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1263, allocations: 4 kB / 0.5462 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1264, allocations: 49.67 kB / 0.5462 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1264, allocations: 0 / 0.5462 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1264, allocations: 4 kB / 0.5462 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1264, allocations: 4 kB / 0.5462 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.1265, allocations: 23.98 kB / 0.5462 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1266, allocations: 161.6 kB / 0.5464 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.218e-05/0.1267, allocations: 42.5 kB / 0.5464 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.1268, allocations: 28.88 kB / 0.5465 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.1268, allocations: 0 / 0.5465 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1268, allocations: 30.56 kB / 0.5465 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1268, allocations: 4 kB / 0.5465 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002789/0.1271, allocations: 151.3 kB / 0.5466 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.1272, allocations: 89.03 kB / 0.5467 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1273, allocations: 121.8 kB / 0.5468 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1273, allocations: 29.69 kB / 0.5469 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.1273, allocations: 84.14 kB / 0.547 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1274, allocations: 31.73 kB / 0.547 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1274, allocations: 17.72 kB / 0.547 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1276, allocations: 330.7 kB / 0.5473 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.1276, allocations: 20 kB / 0.5473 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.1277, allocations: 20.14 kB / 0.5474 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1278, allocations: 132.5 kB / 0.5475 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1278, allocations: 0 / 0.5475 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001668/0.128, allocations: 127.3 kB / 0.5476 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.128, allocations: 49.62 kB / 0.5477 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.128, allocations: 3.938 kB / 0.5477 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.128, allocations: 7.969 kB / 0.5477 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.128, allocations: 4.062 kB / 0.5477 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.128, allocations: 4 kB / 0.5477 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.1281, allocations: 3.938 kB / 0.5477 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1281, allocations: 4 kB / 0.5477 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1282, allocations: 156.1 kB / 0.5478 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1283, allocations: 7.953 kB / 0.5478 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.1283, allocations: 12.36 kB / 0.5478 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1283, allocations: 0 / 0.5478 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1283, allocations: 0 / 0.5478 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1283, allocations: 7.938 kB / 0.5479 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1284, allocations: 173.5 kB / 0.548 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1284, allocations: 0 / 0.548 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-06/0.1284, allocations: 4 kB / 0.548 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1284, allocations: 3.984 kB / 0.548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1285, allocations: 4 kB / 0.548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1285, allocations: 0 / 0.548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1285, allocations: 0 / 0.548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1287, allocations: 222.6 kB / 0.5482 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.1288, allocations: 89.06 kB / 0.5483 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1288, allocations: 3.984 kB / 0.5483 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.1288, allocations: 4 kB / 0.5483 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1289, allocations: 0 / 0.5483 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1289, allocations: 7.938 kB / 0.5483 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.1289, allocations: 99.14 kB / 0.5484 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1289, allocations: 0 / 0.5484 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008915/0.1298, allocations: 319.4 kB / 0.5487 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.1313, allocations: 1.008 MB / 0.5497 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1316, allocations: 183.2 kB / 0.5499 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1316, allocations: 0 / 0.5499 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1317, allocations: 123.5 kB / 0.55 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.132, allocations: 14.52 kB / 0.55 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1339, allocations: 1.698 MB / 0.5517 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1343, allocations: 0.6962 MB / 0.5524 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.591e-05/0.1343, allocations: 3.984 kB / 0.5524 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1343, allocations: 15.44 kB / 0.5524 GB, free: 9.543 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1343, allocations: 0 / 0.5524 GB, free: 9.543 MB / 414.1 MB [CodegenCFunctions.tpl:5632:13-5632:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.836281172989402] Failed to read output from testmodel.py, exit status != 0: 0.16292944201268256 0.180230309 0.051811909 Calling exit ...