Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001684/0.001684, allocations: 123.4 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.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.001997/0.001997, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.584/1.584, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1846/0.1846, allocations: 38.51 MB / 348.7 MB, free: 2.652 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.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.003093/0.003093, allocations: 67.89 kB / 487.2 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1568, allocations: 62.41 MB / 0.5367 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004035/0.1609, allocations: 2.168 MB / 0.5388 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1646, allocations: 2.097 MB / 0.5409 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.1647, allocations: 3.938 kB / 0.5409 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1648, allocations: 11.92 kB / 0.5409 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.165, allocations: 35.81 kB / 0.5409 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.1673, allocations: 0.8305 MB / 0.5417 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1675, allocations: 103.6 kB / 0.5418 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1676, allocations: 7.969 kB / 0.5418 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1677, allocations: 47.83 kB / 0.5419 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1678, allocations: 63.73 kB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1678, allocations: 0 / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.1703, allocations: 1.583 MB / 0.5435 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.1704, allocations: 35.83 kB / 0.5435 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1705, allocations: 35.73 kB / 0.5436 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.1723, allocations: 1.336 MB / 0.5449 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1723, allocations: 3.984 kB / 0.5449 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1723, allocations: 0 / 0.5449 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1723, allocations: 0 / 0.5449 GB, free: 15.15 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007865/0.1731, allocations: 0.55 MB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.1732, allocations: 8.031 kB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.222e-05/0.1732, allocations: 66.52 kB / 0.5455 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1733, allocations: 16.84 kB / 0.5455 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1735, allocations: 208.1 kB / 0.5457 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1735, allocations: 7.938 kB / 0.5457 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1735, allocations: 12 kB / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1738, allocations: 114.3 kB / 0.5458 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1738, allocations: 0 / 0.5458 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1738, allocations: 4 kB / 0.5458 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1738, allocations: 0 / 0.5458 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1739, allocations: 76.11 kB / 0.5459 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.1744, allocations: 361 kB / 0.5462 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1745, allocations: 66.44 kB / 0.5463 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.1746, allocations: 44.86 kB / 0.5463 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.1746, allocations: 3.938 kB / 0.5463 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1746, allocations: 34.56 kB / 0.5464 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1746, allocations: 0 / 0.5464 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003879/0.175, allocations: 219.3 kB / 0.5466 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.1751, allocations: 97.06 kB / 0.5467 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1752, allocations: 153.1 kB / 0.5468 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1752, allocations: 25.7 kB / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1753, allocations: 123.7 kB / 0.547 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1754, allocations: 47.59 kB / 0.547 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1754, allocations: 21.7 kB / 0.547 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1756, allocations: 326.8 kB / 0.5473 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.1756, allocations: 39.97 kB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.1757, allocations: 35.98 kB / 0.5474 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1759, allocations: 183.1 kB / 0.5476 GB, free: 12.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1759, allocations: 0 / 0.5476 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002335/0.1761, allocations: 183.3 kB / 0.5478 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.1762, allocations: 49.62 kB / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1762, allocations: 0 / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1762, allocations: 4 kB / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1762, allocations: 0 / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1762, allocations: 0 / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1763, allocations: 7.938 kB / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.1763, allocations: 7.984 kB / 0.5478 GB, free: 11.83 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.0001508/0.1764, allocations: 183.4 kB / 0.548 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1765, allocations: 15.91 kB / 0.548 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.1765, allocations: 8.844 kB / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1765, allocations: 0 / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1765, allocations: 0 / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1765, allocations: 0 / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1768, allocations: 221.5 kB / 0.5482 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1768, allocations: 0 / 0.5482 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-06/0.1768, allocations: 3.984 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1768, allocations: 4 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1768, allocations: 4 kB / 0.5483 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1768, allocations: 0 / 0.5483 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1768, allocations: 0 / 0.5483 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1772, allocations: 365 kB / 0.5486 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1773, allocations: 96.94 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1773, allocations: 4 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.1774, allocations: 4 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1774, allocations: 8.031 kB / 0.5487 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1774, allocations: 4 kB / 0.5487 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.1775, allocations: 119.2 kB / 0.5488 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1775, allocations: 3.938 kB / 0.5488 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001088/0.1786, allocations: 339.3 kB / 0.5492 GB, free: 10.37 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.001887/0.1805, allocations: 1.286 MB / 0.5504 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1808, allocations: 239.2 kB / 0.5506 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1808, allocations: 0 / 0.5506 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.181, allocations: 159.3 kB / 0.5508 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1814, allocations: 18.56 kB / 0.5508 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1841, allocations: 2.323 MB / 0.5531 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1845, allocations: 0.7352 MB / 0.5538 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.1845, allocations: 0 / 0.5538 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.1846, allocations: 35.42 kB / 0.5538 GB, free: 5.422 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1846, allocations: 4 kB / 0.5538 GB, free: 5.418 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: 3.1918398761190474] Failed to read output from testmodel.py, exit status != 0: 0.2176137282513082 0.23179196899999996 0.056377935000000004 Calling exit ...