Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001456/0.001456, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001534/0.001534, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.449/1.449, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.1849/0.1849, allocations: 38.52 MB / 342.5 MB, free: 8.082 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.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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.98 kB / 478.6 MB, free: 33.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1333, allocations: 61.24 MB / 0.5272 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004185/0.1375, allocations: 2.119 MB / 0.5293 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.1412, allocations: 2.054 MB / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.1413, allocations: 0 / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1415, allocations: 19.91 kB / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1416, allocations: 23.84 kB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.1446, allocations: 0.8422 MB / 0.5322 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1448, allocations: 71.75 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1449, allocations: 4.188 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.145, allocations: 35.78 kB / 0.5323 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1451, allocations: 47.81 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1451, allocations: 4 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.1485, allocations: 1.614 MB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.1485, allocations: 27.92 kB / 0.5339 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.1486, allocations: 47.61 kB / 0.534 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.1518, allocations: 1.352 MB / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1518, allocations: 0 / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1518, allocations: 0 / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1518, allocations: 0 / 0.5353 GB, free: 9.094 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001011/0.1528, allocations: 0.5695 MB / 0.5358 GB, free: 8.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1529, allocations: 15.83 kB / 0.5359 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1529, allocations: 38.73 kB / 0.5359 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.153, allocations: 12.84 kB / 0.5359 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1533, allocations: 206.5 kB / 0.5361 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1533, allocations: 0 / 0.5361 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1533, allocations: 4 kB / 0.5361 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1535, allocations: 97.59 kB / 0.5362 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1535, allocations: 0 / 0.5362 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1535, allocations: 0 / 0.5362 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1535, allocations: 0 / 0.5362 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.1536, allocations: 71.84 kB / 0.5363 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1539, allocations: 189.5 kB / 0.5365 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.154, allocations: 78.55 kB / 0.5365 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.1541, allocations: 64.86 kB / 0.5366 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.1541, allocations: 4 kB / 0.5366 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.1542, allocations: 38.5 kB / 0.5366 GB, free: 7.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1542, allocations: 0 / 0.5366 GB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007072/0.1549, allocations: 315.5 kB / 0.5369 GB, free: 7.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.155, allocations: 97.09 kB / 0.537 GB, free: 7.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1552, allocations: 157.5 kB / 0.5372 GB, free: 6.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1552, allocations: 25.7 kB / 0.5372 GB, free: 6.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.1553, allocations: 100.6 kB / 0.5373 GB, free: 6.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.1554, allocations: 91.2 kB / 0.5374 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1554, allocations: 25.7 kB / 0.5374 GB, free: 6.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1556, allocations: 330.8 kB / 0.5377 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.1557, allocations: 59.97 kB / 0.5378 GB, free: 6.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.1558, allocations: 63.91 kB / 0.5378 GB, free: 6.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1561, allocations: 253.8 kB / 0.5381 GB, free: 5.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1561, allocations: 0 / 0.5381 GB, free: 5.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003302/0.1564, allocations: 246.9 kB / 0.5383 GB, free: 5.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.243e-05/0.1565, allocations: 57.67 kB / 0.5384 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1565, allocations: 0 / 0.5384 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1565, allocations: 3.984 kB / 0.5384 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-06/0.1565, allocations: 8 kB / 0.5384 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1565, allocations: 0 / 0.5384 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.1566, allocations: 11.89 kB / 0.5384 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.1566, allocations: 4 kB / 0.5384 GB, free: 5.637 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.0002221/0.1569, allocations: 199.5 kB / 0.5386 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1569, allocations: 19.91 kB / 0.5386 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.1569, allocations: 13.17 kB / 0.5386 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1569, allocations: 4 kB / 0.5386 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1569, allocations: 3.938 kB / 0.5386 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1569, allocations: 0 / 0.5386 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1571, allocations: 201.5 kB / 0.5388 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1571, allocations: 0 / 0.5388 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1571, allocations: 0 / 0.5388 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1571, allocations: 11.94 kB / 0.5388 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1572, allocations: 4 kB / 0.5388 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1572, allocations: 0 / 0.5388 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1572, allocations: 0 / 0.5388 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.1578, allocations: 0.5217 MB / 0.5393 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.1579, allocations: 96.95 kB / 0.5394 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.158, allocations: 11.92 kB / 0.5394 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.158, allocations: 4 kB / 0.5395 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.158, allocations: 4.031 kB / 0.5395 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.158, allocations: 8 kB / 0.5395 GB, free: 4.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1582, allocations: 111.2 kB / 0.5396 GB, free: 4.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1582, allocations: 0 / 0.5396 GB, free: 4.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001264/0.1594, allocations: 343.3 kB / 0.5399 GB, free: 3.988 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.00208/0.1615, allocations: 1.331 MB / 0.5412 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.1621, allocations: 459.2 kB / 0.5416 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1621, allocations: 0 / 0.5416 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1625, allocations: 315.2 kB / 0.5419 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1627, allocations: 15.94 kB / 0.542 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.1663, allocations: 2.671 MB / 0.5446 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.1668, allocations: 0.7238 MB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.856e-05/0.1669, allocations: 7.984 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.1669, allocations: 31.44 kB / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.1669, allocations: 0 / 0.5453 GB, free: 14.28 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.8920886339619756] Failed to read output from testmodel.py, exit status != 0: 0.20232783211395144 0.22810956399999996 0.07132864400000001 Calling exit ...