Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001353/0.001353, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002071/0.002071, allocations: 209.9 kB / 24.49 MB, free: 4.145 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 / 258.3 MB, free: 7.996 MB / 206.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.1886/0.1886, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.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.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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [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.002259/0.002259, allocations: 67.89 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3296, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003737/0.3333, allocations: 2.266 MB / 0.5455 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3352, allocations: 1.115 MB / 0.5465 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.3352, allocations: 1.562 kB / 0.5465 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3354, allocations: 13.16 kB / 0.5466 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.3355, allocations: 56.7 kB / 0.5466 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3365, allocations: 339.6 kB / 0.5469 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3367, allocations: 115 kB / 0.547 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.3368, allocations: 2.844 kB / 0.547 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3369, allocations: 59.66 kB / 0.5471 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3371, allocations: 77.3 kB / 0.5472 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3371, allocations: 3 kB / 0.5472 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.3381, allocations: 0.6517 MB / 0.5478 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.3382, allocations: 46.16 kB / 0.5479 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.3382, allocations: 39.2 kB / 0.5479 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.339, allocations: 0.5354 MB / 0.5484 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.339, allocations: 0 / 0.5484 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.339, allocations: 0 / 0.5484 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.339, allocations: 1.125 kB / 0.5484 GB, free: 12.72 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.0005466/0.3396, allocations: 402.5 kB / 0.5488 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3396, allocations: 13.08 kB / 0.5488 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3397, allocations: 9.172 kB / 0.5488 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3399, allocations: 148.7 kB / 0.549 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3399, allocations: 1.531 kB / 0.549 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3399, allocations: 6.375 kB / 0.549 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3401, allocations: 94.89 kB / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3401, allocations: 0 / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3401, allocations: 1.25 kB / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3401, allocations: 0 / 0.5491 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.3402, allocations: 61.75 kB / 0.5491 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3404, allocations: 158.1 kB / 0.5493 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3405, allocations: 75.95 kB / 0.5493 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.3406, allocations: 65.73 kB / 0.5494 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.3406, allocations: 0 / 0.5494 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3406, allocations: 35.95 kB / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 9.12e-07/0.3406, allocations: 0 / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005229/0.3411, allocations: 289.8 kB / 0.5497 GB, free: 11.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.3412, allocations: 99.69 kB / 0.5498 GB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3414, allocations: 133.5 kB / 0.5499 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3414, allocations: 26.98 kB / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.3414, allocations: 91.28 kB / 0.5501 GB, free: 11.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.3415, allocations: 72.19 kB / 0.5501 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3416, allocations: 27.36 kB / 0.5502 GB, free: 11.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3417, allocations: 323.2 kB / 0.5505 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.3418, allocations: 56.28 kB / 0.5505 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.3419, allocations: 59.77 kB / 0.5506 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3421, allocations: 229.6 kB / 0.5508 GB, free: 10.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3421, allocations: 3.938 kB / 0.5508 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002803/0.3424, allocations: 225.1 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.3425, allocations: 59.03 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3425, allocations: 1.125 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3425, allocations: 0 / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.3425, allocations: 0.875 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3425, allocations: 0 / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.3426, allocations: 12.92 kB / 0.5511 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3426, allocations: 6.562 kB / 0.5511 GB, free: 10.55 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.0001579/0.3428, allocations: 183.5 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3428, allocations: 16.66 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.3428, allocations: 11.7 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3428, allocations: 0 / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3428, allocations: 1.219 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3428, allocations: 0 / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.343, allocations: 170.1 kB / 0.5514 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.343, allocations: 1.219 kB / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.343, allocations: 0 / 0.5515 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.343, allocations: 4 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.343, allocations: 4.938 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.343, allocations: 1.125 kB / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.343, allocations: 0 / 0.5515 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.3435, allocations: 390.4 kB / 0.5518 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.3435, allocations: 15.94 kB / 0.5518 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3435, allocations: 3.938 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.3436, allocations: 3.938 kB / 0.5519 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3436, allocations: 6.594 kB / 0.5519 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3436, allocations: 8.875 kB / 0.5519 GB, free: 9.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.3437, allocations: 105.5 kB / 0.552 GB, free: 9.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3437, allocations: 0 / 0.552 GB, free: 9.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.3442, allocations: 131.8 kB / 0.5521 GB, free: 9.832 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.0004658/0.3447, allocations: 201.3 kB / 0.5523 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3452, allocations: 321.3 kB / 0.5526 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3452, allocations: 1.25 kB / 0.5526 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3454, allocations: 210.7 kB / 0.5528 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3457, allocations: 16.69 kB / 0.5528 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.3464, allocations: 429.9 kB / 0.5532 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3467, allocations: 0.7187 MB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3468, allocations: 8.625 kB / 0.5539 GB, free: 8.391 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3468, allocations: 0 / 0.5539 GB, free: 8.391 MB / 398.1 MB Notification: Performance of Templates: time 0.006095/0.3528, allocations: 3.111 MB / 0.557 GB, free: 5.988 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.44019307103008] Failed to read output from testmodel.py, exit status != 0: 0.3622162160463631 0.377958334 0.035538067 Calling exit ...