Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001359/0.001359, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.00147/0.00147, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.537/1.537, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.1947/0.1947, allocations: 38.51 MB / 348.7 MB, free: 2.656 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.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002055/0.002055, allocations: 67.89 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004493/0.1367, allocations: 2.13 MB / 0.5388 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.1406, allocations: 2.092 MB / 0.5408 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1406, allocations: 0 / 0.5408 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1408, allocations: 19.84 kB / 0.5408 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1409, allocations: 27.84 kB / 0.5409 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.1434, allocations: 0.841 MB / 0.5417 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1435, allocations: 75.69 kB / 0.5418 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.1436, allocations: 8.172 kB / 0.5418 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1437, allocations: 39.84 kB / 0.5418 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1438, allocations: 55.8 kB / 0.5419 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1439, allocations: 4 kB / 0.5419 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.1465, allocations: 1.618 MB / 0.5434 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.1466, allocations: 43.84 kB / 0.5435 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1467, allocations: 55.48 kB / 0.5435 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.1486, allocations: 1.387 MB / 0.5449 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1486, allocations: 0 / 0.5449 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1486, allocations: 7.938 kB / 0.5449 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1486, allocations: 0 / 0.5449 GB, free: 15.12 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008903/0.1495, allocations: 0.6083 MB / 0.5455 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1496, allocations: 12.03 kB / 0.5455 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.1496, allocations: 42.73 kB / 0.5455 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1497, allocations: 24.8 kB / 0.5456 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1499, allocations: 219.8 kB / 0.5458 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.15, allocations: 11.88 kB / 0.5458 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.15, allocations: 0 / 0.5458 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1502, allocations: 134.6 kB / 0.5459 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1502, allocations: 0 / 0.5459 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1502, allocations: 0 / 0.5459 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1502, allocations: 0 / 0.5459 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1504, allocations: 100.3 kB / 0.546 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.1506, allocations: 210.1 kB / 0.5462 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1508, allocations: 118.8 kB / 0.5463 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1509, allocations: 105.2 kB / 0.5464 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.1509, allocations: 0 / 0.5464 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1509, allocations: 30.56 kB / 0.5465 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.132e-06/0.1509, allocations: 4 kB / 0.5465 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.000737/0.1517, allocations: 491 kB / 0.5469 GB, free: 12.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.1518, allocations: 113.1 kB / 0.547 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1519, allocations: 170.4 kB / 0.5472 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.152, allocations: 25.7 kB / 0.5472 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.152, allocations: 108.8 kB / 0.5473 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.1522, allocations: 142.8 kB / 0.5475 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.1522, allocations: 29.7 kB / 0.5475 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1524, allocations: 342.7 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1525, allocations: 99.95 kB / 0.5479 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1527, allocations: 104.9 kB / 0.548 GB, free: 11.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.1531, allocations: 380.3 kB / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1531, allocations: 0 / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004234/0.1535, allocations: 339 kB / 0.5487 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.1536, allocations: 89.62 kB / 0.5488 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1536, allocations: 0 / 0.5488 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1536, allocations: 0 / 0.5488 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1536, allocations: 0 / 0.5488 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1536, allocations: 0 / 0.5488 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.1537, allocations: 19.83 kB / 0.5488 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1537, allocations: 19.98 kB / 0.5488 GB, free: 10.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.0002375/0.154, allocations: 235.4 kB / 0.549 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.154, allocations: 27.86 kB / 0.5491 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.154, allocations: 22.62 kB / 0.5491 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.154, allocations: 3.938 kB / 0.5491 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.154, allocations: 0 / 0.5491 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.154, allocations: 0 / 0.5491 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.1543, allocations: 241.3 kB / 0.5493 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1543, allocations: 0 / 0.5493 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1543, allocations: 0 / 0.5493 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1543, allocations: 4 kB / 0.5493 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1543, allocations: 8 kB / 0.5493 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1543, allocations: 0 / 0.5493 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1543, allocations: 0 / 0.5493 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1555, allocations: 0.9161 MB / 0.5502 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1555, allocations: 104.8 kB / 0.5503 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.1556, allocations: 8 kB / 0.5503 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.1556, allocations: 4 kB / 0.5503 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.1557, allocations: 11.97 kB / 0.5504 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1557, allocations: 8 kB / 0.5504 GB, free: 9.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1558, allocations: 128.2 kB / 0.5505 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1558, allocations: 0 / 0.5505 GB, free: 9.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001092/0.1569, allocations: 359.4 kB / 0.5508 GB, free: 8.66 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.002649/0.1595, allocations: 1.72 MB / 0.5525 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1606, allocations: 0.8309 MB / 0.5533 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1606, allocations: 0 / 0.5533 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.1613, allocations: 0.6122 MB / 0.5539 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1616, allocations: 16 kB / 0.5539 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.1663, allocations: 3.68 MB / 0.5575 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.1668, allocations: 0.7556 MB / 0.5583 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.1668, allocations: 3.938 kB / 0.5583 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1669, allocations: 47.41 kB / 0.5583 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1669, allocations: 0 / 0.5583 GB, free: 0.8125 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.972701937891543] Failed to read output from testmodel.py, exit status != 0: 0.20336792897433043 0.22799387499999996 0.07468506200000001 Calling exit ...