Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.001517/0.001517, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001746/0.001746, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1837/0.1837, allocations: 38.52 MB / 353.2 MB, free: 12.56 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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [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.002708/0.002708, allocations: 74.55 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3328, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006648/0.3395, allocations: 4.704 MB / 0.5478 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3422, allocations: 1.538 MB / 0.5493 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3425, allocations: 20.53 kB / 0.5493 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.343, allocations: 117.5 kB / 0.5495 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000785/0.3438, allocations: 285.4 kB / 0.5497 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3441, allocations: 108.8 kB / 0.5498 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008917/0.345, allocations: 0.5127 MB / 0.5503 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.3452, allocations: 106.5 kB / 0.5504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.3457, allocations: 209 kB / 0.5506 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.3461, allocations: 218.3 kB / 0.5508 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3461, allocations: 25.28 kB / 0.5509 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.3462, allocations: 30.41 kB / 0.5509 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3463, allocations: 108.5 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3465, allocations: 177.8 kB / 0.5512 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3471, allocations: 382.8 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3471, allocations: 4.938 kB / 0.5515 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3471, allocations: 0 / 0.5515 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.3471, allocations: 0 / 0.5515 GB, free: 10.24 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00125/0.3484, allocations: 0.5963 MB / 0.5521 GB, free: 9.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3484, allocations: 13.23 kB / 0.5521 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.3485, allocations: 44.22 kB / 0.5522 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.3492, allocations: 336.7 kB / 0.5525 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3492, allocations: 23.06 kB / 0.5525 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.3493, allocations: 34.28 kB / 0.5525 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.3498, allocations: 338.8 kB / 0.5529 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3498, allocations: 1.031 kB / 0.5529 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3498, allocations: 11.34 kB / 0.5529 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3499, allocations: 6.719 kB / 0.5529 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.3502, allocations: 211.6 kB / 0.5531 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.3521, allocations: 1.442 MB / 0.5545 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.3526, allocations: 189.7 kB / 0.5547 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3527, allocations: 73.5 kB / 0.5547 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3527, allocations: 2.125 kB / 0.5548 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.3527, allocations: 45.72 kB / 0.5548 GB, free: 7.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3528, allocations: 0 / 0.5548 GB, free: 7.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001128/0.3539, allocations: 0.6288 MB / 0.5554 GB, free: 6.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.354, allocations: 132.1 kB / 0.5555 GB, free: 6.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3543, allocations: 320 kB / 0.5558 GB, free: 6.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3543, allocations: 30.92 kB / 0.5559 GB, free: 6.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3545, allocations: 220.4 kB / 0.5561 GB, free: 6.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.3546, allocations: 63.47 kB / 0.5561 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.3547, allocations: 52.56 kB / 0.5562 GB, free: 6.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3548, allocations: 346.5 kB / 0.5565 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.3549, allocations: 50.22 kB / 0.5566 GB, free: 5.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.3551, allocations: 148.8 kB / 0.5567 GB, free: 5.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3554, allocations: 222.4 kB / 0.5569 GB, free: 5.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3554, allocations: 1.344 kB / 0.5569 GB, free: 5.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003946/0.3558, allocations: 254.8 kB / 0.5572 GB, free: 5.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3558, allocations: 6.406 kB / 0.5572 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3558, allocations: 12.27 kB / 0.5572 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3558, allocations: 8.344 kB / 0.5572 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.3562, allocations: 79.16 kB / 0.5573 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.3573, allocations: 1.268 MB / 0.5585 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3574, allocations: 16.11 kB / 0.5585 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3575, allocations: 10.53 kB / 0.5585 GB, free: 4.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.3577, allocations: 172 kB / 0.5587 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.3577, allocations: 38.28 kB / 0.5587 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3581, allocations: 177.1 kB / 0.5589 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3581, allocations: 7.328 kB / 0.5589 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3581, allocations: 1.125 kB / 0.5589 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3581, allocations: 13.02 kB / 0.5589 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.3589, allocations: 0.5128 MB / 0.5594 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3589, allocations: 7.938 kB / 0.5594 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3592, allocations: 43.91 kB / 0.5595 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3592, allocations: 4 kB / 0.5595 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3592, allocations: 4 kB / 0.5595 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3592, allocations: 4 kB / 0.5595 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3592, allocations: 0 / 0.5595 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.3597, allocations: 498.5 kB / 0.56 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3598, allocations: 35.7 kB / 0.56 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3598, allocations: 4 kB / 0.56 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.36, allocations: 4 kB / 0.56 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.36, allocations: 23.95 kB / 0.56 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3601, allocations: 4 kB / 0.56 GB, free: 2.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.3603, allocations: 223.2 kB / 0.5602 GB, free: 2.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3603, allocations: 0 / 0.5602 GB, free: 2.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.3607, allocations: 56 kB / 0.5603 GB, free: 2.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000131/0.3609, allocations: 103.2 kB / 0.5604 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3613, allocations: 160.2 kB / 0.5605 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3613, allocations: 0 / 0.5605 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3614, allocations: 63.91 kB / 0.5606 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.3621, allocations: 99.28 kB / 0.5607 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.364, allocations: 0.8686 MB / 0.5615 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3645, allocations: 0.8029 MB / 0.5623 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.3645, allocations: 31.42 kB / 0.5624 GB, free: 152 kB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3645, allocations: 0 / 0.5624 GB, free: 152 kB / 398.1 MB Notification: Performance of Templates: time 0.008278/0.3728, allocations: 4.753 MB / 0.567 GB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.738071409985423] Failed to read output from testmodel.py, exit status != 0: 0.3837830862030387 0.397405691 0.04700746 Calling exit ...