Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001532/0.001532, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001668/0.001668, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.65/1.65, 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.1891/0.1891, allocations: 38.53 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.001961/0.001961, allocations: 71.89 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 62.42 MB / 0.5367 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004043/0.1587, allocations: 2.192 MB / 0.5388 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1607, allocations: 1.099 MB / 0.5399 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.1607, allocations: 3.938 kB / 0.5399 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1609, allocations: 15.91 kB / 0.5399 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.161, allocations: 51.8 kB / 0.54 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.162, allocations: 299.2 kB / 0.5403 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1622, allocations: 115.6 kB / 0.5404 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1623, allocations: 4.219 kB / 0.5404 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1624, allocations: 55.83 kB / 0.5404 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1625, allocations: 75.7 kB / 0.5405 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1626, allocations: 4 kB / 0.5405 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.1633, allocations: 482.9 kB / 0.541 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.1634, allocations: 39.83 kB / 0.541 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1634, allocations: 43.72 kB / 0.541 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.1641, allocations: 0.5142 MB / 0.5415 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1641, allocations: 4 kB / 0.5415 GB, free: 2.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1641, allocations: 4 kB / 0.5416 GB, free: 2.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1641, allocations: 0 / 0.5416 GB, free: 2.559 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006145/0.1648, allocations: 476.1 kB / 0.542 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1648, allocations: 8.031 kB / 0.542 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1649, allocations: 58.64 kB / 0.5421 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1649, allocations: 16.84 kB / 0.5421 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1652, allocations: 208.1 kB / 0.5423 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1652, allocations: 4.375 kB / 0.5423 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1652, allocations: 15.94 kB / 0.5423 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1655, allocations: 129.6 kB / 0.5424 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1655, allocations: 0 / 0.5424 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1655, allocations: 4 kB / 0.5424 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1655, allocations: 4 kB / 0.5424 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1657, allocations: 86.69 kB / 0.5425 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1661, allocations: 344.6 kB / 0.5428 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1663, allocations: 78.48 kB / 0.5429 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.1664, allocations: 60.86 kB / 0.543 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.1664, allocations: 4 kB / 0.543 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1664, allocations: 38.48 kB / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.1664, allocations: 0 / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005511/0.167, allocations: 293.9 kB / 0.5433 GB, free: 0.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.167, allocations: 97.03 kB / 0.5434 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1672, allocations: 133.8 kB / 0.5435 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1672, allocations: 29.73 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1673, allocations: 108.5 kB / 0.5437 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.1673, allocations: 67.39 kB / 0.5437 GB, free: 120 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.1674, allocations: 25.7 kB / 0.5437 GB, free: 88 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1676, allocations: 322.8 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.1677, allocations: 59.97 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.1677, allocations: 55.95 kB / 0.5442 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.168, allocations: 230.8 kB / 0.5444 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.168, allocations: 7.969 kB / 0.5444 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002935/0.1683, allocations: 219.1 kB / 0.5446 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.1684, allocations: 61.61 kB / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1684, allocations: 0 / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1684, allocations: 0 / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-06/0.1684, allocations: 4 kB / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1684, allocations: 0 / 0.5447 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.1685, allocations: 11.95 kB / 0.5447 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.1685, allocations: 7.984 kB / 0.5447 GB, free: 15.09 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.0001861/0.1687, allocations: 191.5 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.1687, allocations: 19.84 kB / 0.5449 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.1687, allocations: 13.17 kB / 0.5449 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1687, allocations: 0 / 0.5449 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1687, allocations: 0 / 0.5449 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1687, allocations: 0 / 0.5449 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.169, allocations: 217.5 kB / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.169, allocations: 0 / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.169, allocations: 7.922 kB / 0.5451 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.169, allocations: 0 / 0.5451 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.169, allocations: 4 kB / 0.5451 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.169, allocations: 4 kB / 0.5451 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.169, allocations: 0 / 0.5451 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.1696, allocations: 463.3 kB / 0.5456 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.1696, allocations: 96.89 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1697, allocations: 7.984 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1697, allocations: 4 kB / 0.5457 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1697, allocations: 0 / 0.5457 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1698, allocations: 8 kB / 0.5457 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.1698, allocations: 109.6 kB / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1698, allocations: 0 / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.1704, allocations: 139.7 kB / 0.5459 GB, free: 13.72 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.00155/0.172, allocations: 1.229 MB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.1724, allocations: 335.1 kB / 0.5474 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1724, allocations: 0 / 0.5474 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.1727, allocations: 203.3 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.173, allocations: 19.98 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.1759, allocations: 2.451 MB / 0.55 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1764, allocations: 0.7353 MB / 0.5508 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.887e-05/0.1764, allocations: 0 / 0.5508 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.1764, allocations: 39.42 kB / 0.5508 GB, free: 8.559 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1764, allocations: 0 / 0.5508 GB, free: 8.559 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.1428211499005556] Failed to read output from testmodel.py, exit status != 0: 0.2014262587763369 0.217933175 0.050509698000000006 Calling exit ...