Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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.1883/0.1883, allocations: 38.5 MB / 342.5 MB, free: 7.992 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/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.3 kB / 478.6 MB, free: 33.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 61.25 MB / 0.5272 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004133/0.1371, allocations: 2.118 MB / 0.5293 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.1407, allocations: 2.051 MB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1407, allocations: 4 kB / 0.5313 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1409, allocations: 7.922 kB / 0.5313 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.697e-05/0.141, allocations: 31.83 kB / 0.5313 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.1435, allocations: 0.8422 MB / 0.5322 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1436, allocations: 71.73 kB / 0.5322 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.1437, allocations: 8.188 kB / 0.5322 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.1438, allocations: 31.8 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1439, allocations: 51.75 kB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1439, allocations: 0 / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.1466, allocations: 1.618 MB / 0.5339 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1466, allocations: 35.91 kB / 0.5339 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1467, allocations: 35.62 kB / 0.534 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.1488, allocations: 1.356 MB / 0.5353 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1488, allocations: 0 / 0.5353 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1488, allocations: 0 / 0.5353 GB, free: 9.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1488, allocations: 0 / 0.5353 GB, free: 9.039 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.001118/0.1499, allocations: 0.5656 MB / 0.5358 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1499, allocations: 11.89 kB / 0.5358 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.15, allocations: 42.73 kB / 0.5359 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.15, allocations: 20.84 kB / 0.5359 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1503, allocations: 210.4 kB / 0.5361 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1503, allocations: 0 / 0.5361 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1504, allocations: 0 / 0.5361 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1506, allocations: 93.66 kB / 0.5362 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1506, allocations: 4 kB / 0.5362 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1506, allocations: 0 / 0.5362 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1506, allocations: 0 / 0.5362 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1507, allocations: 63.91 kB / 0.5363 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.1509, allocations: 197.5 kB / 0.5365 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1511, allocations: 78.5 kB / 0.5365 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.1512, allocations: 60.86 kB / 0.5366 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1512, allocations: 3.984 kB / 0.5366 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1512, allocations: 38.55 kB / 0.5366 GB, free: 7.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.42e-07/0.1512, allocations: 0 / 0.5366 GB, free: 7.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005849/0.1518, allocations: 319.5 kB / 0.5369 GB, free: 7.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.1519, allocations: 97.12 kB / 0.537 GB, free: 7.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1521, allocations: 153.5 kB / 0.5372 GB, free: 6.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1521, allocations: 33.64 kB / 0.5372 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.1522, allocations: 96.58 kB / 0.5373 GB, free: 6.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.1523, allocations: 87.16 kB / 0.5374 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.1523, allocations: 29.7 kB / 0.5374 GB, free: 6.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1525, allocations: 326.8 kB / 0.5377 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.1526, allocations: 63.97 kB / 0.5378 GB, free: 6.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.1527, allocations: 63.97 kB / 0.5378 GB, free: 6.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.153, allocations: 249.8 kB / 0.5381 GB, free: 5.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.153, allocations: 0 / 0.5381 GB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003304/0.1533, allocations: 243 kB / 0.5383 GB, free: 5.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.1534, allocations: 65.66 kB / 0.5384 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1534, allocations: 0 / 0.5384 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1535, allocations: 0 / 0.5384 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-06/0.1535, allocations: 3.938 kB / 0.5384 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1535, allocations: 0 / 0.5384 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.1535, allocations: 15.95 kB / 0.5384 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.1536, allocations: 8 kB / 0.5384 GB, free: 5.578 MB / 398.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.0002105/0.1538, allocations: 195.4 kB / 0.5386 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1538, allocations: 15.91 kB / 0.5386 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.1538, allocations: 17.17 kB / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1538, allocations: 0 / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1538, allocations: 0 / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1538, allocations: 0 / 0.5386 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1541, allocations: 205.5 kB / 0.5388 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1541, allocations: 0 / 0.5388 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-06/0.1541, allocations: 11.98 kB / 0.5388 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1541, allocations: 3.938 kB / 0.5388 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1541, allocations: 4 kB / 0.5388 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1541, allocations: 0 / 0.5388 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1541, allocations: 0 / 0.5388 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.1548, allocations: 0.5218 MB / 0.5393 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.1549, allocations: 92.95 kB / 0.5394 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1549, allocations: 7.938 kB / 0.5394 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.1549, allocations: 8.031 kB / 0.5394 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.155, allocations: 4 kB / 0.5394 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.155, allocations: 4 kB / 0.5395 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.1551, allocations: 115.2 kB / 0.5396 GB, free: 4.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1551, allocations: 0 / 0.5396 GB, free: 4.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001029/0.1561, allocations: 343.3 kB / 0.5399 GB, free: 3.938 MB / 398.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.002462/0.1586, allocations: 1.335 MB / 0.5412 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.1592, allocations: 463.1 kB / 0.5416 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1592, allocations: 0 / 0.5416 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.1596, allocations: 323.2 kB / 0.5419 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1598, allocations: 12.16 kB / 0.542 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.1633, allocations: 2.664 MB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.1638, allocations: 0.7278 MB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.1638, allocations: 0 / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.1638, allocations: 35.42 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1638, allocations: 0 / 0.5453 GB, free: 14.22 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.969787015579641] Failed to read output from testmodel.py, exit status != 0: 0.1969717456959188 0.213058663 0.061004175 Calling exit ...