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.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.0009861/0.0009861, allocations: 107.9 kB / 20.43 MB, free: 4.598 MB / 13.93 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.0009853/0.0009853, allocations: 221.5 kB / 23.74 MB, free: 2.129 MB / 13.93 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.045/1.045, allocations: 230.6 MB / 257.5 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] 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.1455/0.1455, allocations: 38.56 MB / 352.5 MB, free: 11.39 MB / 282.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_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.001517/0.001517, allocations: 71.89 kB / 493.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 62.46 MB / 0.5427 GB, free: 5.965 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003924/0.1442, allocations: 2.191 MB / 0.5449 GB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1471, allocations: 1.899 MB / 0.5467 GB, free: 1.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.1472, allocations: 0 / 0.5467 GB, free: 1.836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1474, allocations: 11.91 kB / 0.5467 GB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1475, allocations: 23.84 kB / 0.5468 GB, free: 1.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.1501, allocations: 0.9669 MB / 0.5477 GB, free: 0.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1502, allocations: 79.62 kB / 0.5478 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.1503, allocations: 8.172 kB / 0.5478 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1505, allocations: 39.91 kB / 0.5478 GB, free: 0.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.1506, allocations: 55.73 kB / 0.5479 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1506, allocations: 4 kB / 0.5479 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.1534, allocations: 1.898 MB / 0.5497 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.1535, allocations: 43.84 kB / 0.5498 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1535, allocations: 43.61 kB / 0.5498 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.1556, allocations: 1.391 MB / 0.5512 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1556, allocations: 0 / 0.5512 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1556, allocations: 0 / 0.5512 GB, free: 13.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1556, allocations: 3.938 kB / 0.5512 GB, free: 13.26 MB / 426.7 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.0008635/0.1565, allocations: 0.5369 MB / 0.5517 GB, free: 12.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1565, allocations: 8.031 kB / 0.5517 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1565, allocations: 54.73 kB / 0.5518 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1566, allocations: 16.8 kB / 0.5518 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1568, allocations: 158 kB / 0.5519 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1568, allocations: 0 / 0.5519 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1568, allocations: 4 kB / 0.5519 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1571, allocations: 236.2 kB / 0.5522 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1571, allocations: 0 / 0.5522 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1571, allocations: 0 / 0.5522 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1571, allocations: 0 / 0.5522 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1572, allocations: 190 kB / 0.5523 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1574, allocations: 169.2 kB / 0.5525 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1576, allocations: 208.5 kB / 0.5527 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1577, allocations: 198.8 kB / 0.5529 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.1577, allocations: 0 / 0.5529 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1578, allocations: 38.5 kB / 0.5529 GB, free: 11.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.212e-06/0.1578, allocations: 0 / 0.5529 GB, free: 11.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006633/0.1584, allocations: 0.7014 MB / 0.5536 GB, free: 10.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1585, allocations: 109.1 kB / 0.5537 GB, free: 10.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1586, allocations: 170.3 kB / 0.5539 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1586, allocations: 25.7 kB / 0.5539 GB, free: 10.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.1587, allocations: 108.8 kB / 0.554 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.1588, allocations: 142.8 kB / 0.5541 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1588, allocations: 37.7 kB / 0.5542 GB, free: 9.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.1589, allocations: 338.8 kB / 0.5545 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1591, allocations: 185.6 kB / 0.5547 GB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1592, allocations: 193.6 kB / 0.5549 GB, free: 9.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1596, allocations: 453.1 kB / 0.5553 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1596, allocations: 0 / 0.5553 GB, free: 8.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003656/0.1599, allocations: 460.7 kB / 0.5557 GB, free: 8.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.16, allocations: 88.75 kB / 0.5558 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.16, allocations: 4 kB / 0.5558 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.16, allocations: 4.062 kB / 0.5558 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.16, allocations: 0 / 0.5558 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1601, allocations: 0 / 0.5558 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.1601, allocations: 19.83 kB / 0.5558 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.1602, allocations: 12 kB / 0.5559 GB, free: 8.176 MB / 426.7 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.0001639/0.1603, allocations: 235.4 kB / 0.5561 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1603, allocations: 23.86 kB / 0.5561 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.1604, allocations: 22.64 kB / 0.5561 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1604, allocations: 3.938 kB / 0.5561 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1604, allocations: 0 / 0.5561 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1604, allocations: 3.938 kB / 0.5561 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1605, allocations: 196.5 kB / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1605, allocations: 0 / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.1605, allocations: 0 / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1605, allocations: 0 / 0.5563 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1605, allocations: 8 kB / 0.5563 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1605, allocations: 0 / 0.5563 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1605, allocations: 0 / 0.5563 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.1612, allocations: 0.7811 MB / 0.5571 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.1612, allocations: 23.73 kB / 0.5571 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1612, allocations: 8 kB / 0.5571 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.1613, allocations: 4 kB / 0.5571 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.1613, allocations: 16.02 kB / 0.5571 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1613, allocations: 11.98 kB / 0.5572 GB, free: 6.762 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.1614, allocations: 120.2 kB / 0.5573 GB, free: 6.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1614, allocations: 0 / 0.5573 GB, free: 6.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001072/0.1625, allocations: 359.4 kB / 0.5576 GB, free: 6.293 MB / 426.7 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.001804/0.1643, allocations: 1.587 MB / 0.5592 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.165, allocations: 0.7524 MB / 0.5599 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.165, allocations: 0 / 0.5599 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.1653, allocations: 440.8 kB / 0.5603 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1655, allocations: 22.95 kB / 0.5603 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3008/0.4663, allocations: 3.939 MB / 0.5642 GB, free: 27.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.4665, allocations: 144.4 kB / 0.5643 GB, free: 27.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.4665, allocations: 1.906 kB / 0.5643 GB, free: 27.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4666, allocations: 46.81 kB / 0.5644 GB, free: 27.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.4666, allocations: 0 / 0.5644 GB, free: 27.23 MB / 426.7 MB [CodegenCFunctions.tpl:5658:13-5658:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.777068382129073]