Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 123.2 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.1866/0.1866, allocations: 38.5 MB / 342.5 MB, free: 8.043 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.23 kB / 478.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 61.24 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003855/0.1323, allocations: 2.12 MB / 0.5293 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.1358, allocations: 2.054 MB / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1359, allocations: 0 / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1361, allocations: 19.84 kB / 0.5313 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1362, allocations: 23.84 kB / 0.5313 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.139, allocations: 0.8384 MB / 0.5322 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1392, allocations: 71.7 kB / 0.5322 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.1392, allocations: 192 / 0.5322 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.1393, allocations: 35.83 kB / 0.5323 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1394, allocations: 59.75 kB / 0.5323 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1395, allocations: 0 / 0.5323 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.1421, allocations: 1.618 MB / 0.5339 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1423, allocations: 43.84 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.1424, allocations: 55.47 kB / 0.534 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.1443, allocations: 1.379 MB / 0.5353 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1443, allocations: 3.938 kB / 0.5353 GB, free: 9.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1443, allocations: 0 / 0.5353 GB, free: 9.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1443, allocations: 3.984 kB / 0.5353 GB, free: 9.016 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000859/0.1451, allocations: 0.6161 MB / 0.5359 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1452, allocations: 11.89 kB / 0.536 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.1452, allocations: 50.73 kB / 0.536 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.1453, allocations: 20.78 kB / 0.536 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1456, allocations: 215.9 kB / 0.5362 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1456, allocations: 0 / 0.5362 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1456, allocations: 0 / 0.5362 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1459, allocations: 138.5 kB / 0.5364 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1459, allocations: 4 kB / 0.5364 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1459, allocations: 0 / 0.5364 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1459, allocations: 0 / 0.5364 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.146, allocations: 100.3 kB / 0.5365 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.1463, allocations: 214.1 kB / 0.5367 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1465, allocations: 114.9 kB / 0.5368 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1466, allocations: 105.2 kB / 0.5369 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1466, allocations: 3.938 kB / 0.5369 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1467, allocations: 38.48 kB / 0.5369 GB, free: 7.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.182e-06/0.1467, allocations: 0 / 0.5369 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007976/0.1475, allocations: 499 kB / 0.5374 GB, free: 6.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.1475, allocations: 105.1 kB / 0.5375 GB, free: 6.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1477, allocations: 170.4 kB / 0.5377 GB, free: 6.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1477, allocations: 25.7 kB / 0.5377 GB, free: 6.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.1478, allocations: 108.8 kB / 0.5378 GB, free: 6.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1479, allocations: 134.8 kB / 0.5379 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.148, allocations: 33.7 kB / 0.5379 GB, free: 6.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1482, allocations: 342.8 kB / 0.5383 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1483, allocations: 99.98 kB / 0.5384 GB, free: 5.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1485, allocations: 100.9 kB / 0.5385 GB, free: 5.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1489, allocations: 384.2 kB / 0.5388 GB, free: 5.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1489, allocations: 4 kB / 0.5388 GB, free: 5.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004245/0.1493, allocations: 339.1 kB / 0.5392 GB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.1494, allocations: 77.64 kB / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1494, allocations: 0 / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1494, allocations: 0 / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1494, allocations: 0 / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1494, allocations: 4 kB / 0.5392 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.1495, allocations: 35.83 kB / 0.5393 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1495, allocations: 8 kB / 0.5393 GB, free: 4.711 MB / 398.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.0002362/0.1498, allocations: 235.3 kB / 0.5395 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1498, allocations: 31.78 kB / 0.5395 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.1498, allocations: 10.66 kB / 0.5395 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1498, allocations: 0 / 0.5395 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1498, allocations: 0 / 0.5395 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1498, allocations: 3.938 kB / 0.5395 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1501, allocations: 241.3 kB / 0.5398 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1501, allocations: 4 kB / 0.5398 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.1501, allocations: 4 kB / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1501, allocations: 0 / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1501, allocations: 4 kB / 0.5398 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1501, allocations: 4 kB / 0.5398 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1501, allocations: 3.984 kB / 0.5398 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1512, allocations: 0.916 MB / 0.5407 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.1513, allocations: 104.8 kB / 0.5408 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1513, allocations: 8.031 kB / 0.5408 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.1514, allocations: 8 kB / 0.5408 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1514, allocations: 0 / 0.5408 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1514, allocations: 19.98 kB / 0.5408 GB, free: 3.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1515, allocations: 120.2 kB / 0.5409 GB, free: 2.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 4 kB / 0.5409 GB, free: 2.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001094/0.1526, allocations: 355.4 kB / 0.5413 GB, free: 2.547 MB / 398.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.002515/0.1552, allocations: 1.737 MB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.1562, allocations: 0.8232 MB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1562, allocations: 0 / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.1569, allocations: 0.6083 MB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1571, allocations: 24.16 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.1618, allocations: 3.668 MB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1622, allocations: 0.7595 MB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.1622, allocations: 3.984 kB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.1623, allocations: 47.42 kB / 0.5488 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1623, allocations: 0 / 0.5488 GB, free: 10.7 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.9104027952998877] Failed to read output from testmodel.py, exit status != 0: 0.19675755314528942 0.21259268899999995 0.06513606200000001 Calling exit ...