Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001818/0.001818, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002244/0.002244, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2351/0.2351, allocations: 38.52 MB / 348.7 MB, free: 2.66 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-master/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_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",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.001931/0.001931, allocations: 75.88 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003769/0.1199, allocations: 2.119 MB / 0.5388 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1233, allocations: 2.093 MB / 0.5408 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1234, allocations: 3.938 kB / 0.5408 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1235, allocations: 19.84 kB / 0.5408 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1236, allocations: 23.84 kB / 0.5409 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.1259, allocations: 0.8449 MB / 0.5417 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.126, allocations: 71.7 kB / 0.5417 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1261, allocations: 12.17 kB / 0.5418 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1262, allocations: 43.83 kB / 0.5418 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.1263, allocations: 43.77 kB / 0.5418 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1263, allocations: 4 kB / 0.5418 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.1286, allocations: 1.61 MB / 0.5434 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1287, allocations: 19.92 kB / 0.5434 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.1287, allocations: 15.88 kB / 0.5434 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.1304, allocations: 1.325 MB / 0.5447 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1304, allocations: 4 kB / 0.5447 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1305, allocations: 0 / 0.5447 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1305, allocations: 0 / 0.5447 GB, free: 15.28 MB / 414.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.0007257/0.1312, allocations: 0.5152 MB / 0.5452 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1312, allocations: 8.031 kB / 0.5453 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.1313, allocations: 34.75 kB / 0.5453 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1313, allocations: 8.891 kB / 0.5453 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1315, allocations: 187.2 kB / 0.5455 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-06/0.1315, allocations: 0 / 0.5455 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1315, allocations: 8 kB / 0.5455 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1316, allocations: 53.67 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1317, allocations: 0 / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1317, allocations: 3.938 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1317, allocations: 4 kB / 0.5455 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.1317, allocations: 23.98 kB / 0.5456 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1319, allocations: 161.6 kB / 0.5457 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.132, allocations: 38.58 kB / 0.5458 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.132, allocations: 32.88 kB / 0.5458 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-06/0.132, allocations: 0 / 0.5458 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.132, allocations: 34.56 kB / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.132, allocations: 0 / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002832/0.1323, allocations: 159.2 kB / 0.546 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1324, allocations: 81.11 kB / 0.5461 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1325, allocations: 121.8 kB / 0.5462 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1325, allocations: 29.7 kB / 0.5462 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.1325, allocations: 92.17 kB / 0.5463 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.1326, allocations: 27.73 kB / 0.5463 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1326, allocations: 21.72 kB / 0.5463 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1328, allocations: 322.8 kB / 0.5466 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.1328, allocations: 19.98 kB / 0.5467 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.1328, allocations: 27.92 kB / 0.5467 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.133, allocations: 132.3 kB / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.133, allocations: 0 / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001706/0.1332, allocations: 131.3 kB / 0.5469 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.1332, allocations: 41.69 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1332, allocations: 0 / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1332, allocations: 3.938 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1332, allocations: 0 / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1332, allocations: 0 / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.1333, allocations: 4 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1333, allocations: 7.938 kB / 0.547 GB, free: 12.7 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.0001276/0.1334, allocations: 159.5 kB / 0.5471 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1334, allocations: 15.98 kB / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.1334, allocations: 4.375 kB / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1334, allocations: 0 / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1335, allocations: 0 / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1335, allocations: 0 / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1336, allocations: 185.5 kB / 0.5473 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1336, allocations: 0 / 0.5473 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1336, allocations: 0 / 0.5473 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1336, allocations: 0 / 0.5473 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1336, allocations: 4 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1336, allocations: 3.938 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1336, allocations: 4 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1339, allocations: 218.6 kB / 0.5476 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.134, allocations: 85.06 kB / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.134, allocations: 3.984 kB / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.134, allocations: 4 kB / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.134, allocations: 0 / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1341, allocations: 4 kB / 0.5477 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.1341, allocations: 109.6 kB / 0.5478 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 0.5478 GB, free: 11.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008824/0.135, allocations: 315.4 kB / 0.5481 GB, free: 11.5 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.00148/0.1365, allocations: 1.026 MB / 0.5491 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1368, allocations: 171.6 kB / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1368, allocations: 0 / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1369, allocations: 123.3 kB / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1371, allocations: 10.92 kB / 0.5494 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.139, allocations: 1.703 MB / 0.551 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1393, allocations: 0.7002 MB / 0.5517 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.1394, allocations: 4 kB / 0.5517 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1394, allocations: 15.44 kB / 0.5517 GB, free: 7.586 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1394, allocations: 0 / 0.5517 GB, free: 7.586 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.927129879128188] Failed to read output from testmodel.py, exit status != 0: 0.16681481804698706 0.18404266800000002 0.049601454 Calling exit ...