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.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.001296/0.001296, allocations: 113 kB / 18.49 MB, free: 4.598 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.001359/0.001359, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.189/0.189, allocations: 38.49 MB / 349.4 MB, free: 2.621 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="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.002011/0.002011, allocations: 63.56 kB / 487.8 MB, free: 32.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.131, allocations: 62.43 MB / 0.5374 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003849/0.1349, allocations: 2.132 MB / 0.5395 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.1388, allocations: 2.093 MB / 0.5415 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.1388, allocations: 4 kB / 0.5415 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.139, allocations: 11.92 kB / 0.5415 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1391, allocations: 23.84 kB / 0.5415 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.1417, allocations: 0.8383 MB / 0.5424 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1418, allocations: 75.69 kB / 0.5424 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1419, allocations: 8.172 kB / 0.5424 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.142, allocations: 39.84 kB / 0.5425 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.1421, allocations: 55.75 kB / 0.5425 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1422, allocations: 4 kB / 0.5425 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.1449, allocations: 1.61 MB / 0.5441 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.145, allocations: 35.84 kB / 0.5441 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.1451, allocations: 39.67 kB / 0.5442 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.1472, allocations: 1.36 MB / 0.5455 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1472, allocations: 0 / 0.5455 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1472, allocations: 0 / 0.5455 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1472, allocations: 0 / 0.5455 GB, free: 1.18 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.0009774/0.1482, allocations: 0.5695 MB / 0.5461 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1483, allocations: 12.03 kB / 0.5461 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/0.1483, allocations: 8.125 kB / 0.5461 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1483, allocations: 34.75 kB / 0.5461 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.1484, allocations: 12.84 kB / 0.5461 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1486, allocations: 207.3 kB / 0.5463 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1486, allocations: 0 / 0.5463 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1486, allocations: 4 kB / 0.5463 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1488, allocations: 97.66 kB / 0.5464 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1488, allocations: 0 / 0.5464 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1489, allocations: 0 / 0.5464 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1489, allocations: 0 / 0.5464 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.149, allocations: 63.97 kB / 0.5465 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1493, allocations: 189.5 kB / 0.5467 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1494, allocations: 78.48 kB / 0.5467 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1495, allocations: 68.86 kB / 0.5468 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1495, allocations: 8 kB / 0.5468 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1496, allocations: 34.5 kB / 0.5468 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.1496, allocations: 0 / 0.5468 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006231/0.1502, allocations: 330.6 kB / 0.5472 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.1503, allocations: 97.09 kB / 0.5472 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1504, allocations: 146.9 kB / 0.5474 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1505, allocations: 29.7 kB / 0.5474 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.1505, allocations: 100.6 kB / 0.5475 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.1506, allocations: 83.31 kB / 0.5476 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.1507, allocations: 21.7 kB / 0.5476 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1509, allocations: 338.8 kB / 0.5479 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.1509, allocations: 59.97 kB / 0.548 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.151, allocations: 56.8 kB / 0.548 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.1513, allocations: 260.1 kB / 0.5483 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1513, allocations: 0 / 0.5483 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003288/0.1517, allocations: 235.2 kB / 0.5485 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.1517, allocations: 69.72 kB / 0.5486 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1517, allocations: 0 / 0.5486 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1518, allocations: 0 / 0.5486 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1518, allocations: 0 / 0.5486 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1518, allocations: 7.938 kB / 0.5486 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.1518, allocations: 11.89 kB / 0.5486 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1519, allocations: 4 kB / 0.5486 GB, free: 13.72 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.0002119/0.1521, allocations: 203.3 kB / 0.5488 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.1521, allocations: 19.91 kB / 0.5488 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.1521, allocations: 13.19 kB / 0.5488 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1521, allocations: 4 kB / 0.5488 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1522, allocations: 0 / 0.5488 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1522, allocations: 3.984 kB / 0.5488 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1524, allocations: 205.5 kB / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1524, allocations: 0 / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.1524, allocations: 0 / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1524, allocations: 0 / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1524, allocations: 8 kB / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1524, allocations: 0 / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1524, allocations: 0 / 0.549 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.1531, allocations: 0.5256 MB / 0.5496 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1532, allocations: 92.95 kB / 0.5496 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1532, allocations: 4 kB / 0.5496 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.1533, allocations: 8 kB / 0.5497 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1533, allocations: 0 / 0.5497 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1533, allocations: 11.98 kB / 0.5497 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1535, allocations: 115.1 kB / 0.5498 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1535, allocations: 7.969 kB / 0.5498 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001173/0.1547, allocations: 343.3 kB / 0.5501 GB, free: 12.07 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.00223/0.1569, allocations: 1.327 MB / 0.5514 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007195/0.1576, allocations: 467.1 kB / 0.5519 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1576, allocations: 0 / 0.5519 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.158, allocations: 319.2 kB / 0.5522 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1583, allocations: 12 kB / 0.5522 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.162, allocations: 2.672 MB / 0.5548 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.1624, allocations: 0.7316 MB / 0.5555 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.1625, allocations: 4.031 kB / 0.5555 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.1625, allocations: 35.42 kB / 0.5555 GB, free: 6.344 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1625, allocations: 0 / 0.5555 GB, free: 6.344 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.915009662974626] Failed to read output from testmodel.py, exit status != 0: 0.1969847049913369 0.21595201900000002 0.06471012400000001 Calling exit ...