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.001632/0.001632, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001533/0.001533, allocations: 210 kB / 24.48 MB, free: 3.938 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2571/0.2571, allocations: 38.56 MB / 353.2 MB, free: 12.38 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.002014/0.002014, allocations: 71.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3383, allocations: 62.48 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.00675/0.345, allocations: 4.435 MB / 0.5475 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.3476, allocations: 1.392 MB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.3479, allocations: 21.06 kB / 0.5489 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.3483, allocations: 112.6 kB / 0.549 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.3491, allocations: 280.4 kB / 0.5493 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.3494, allocations: 114 kB / 0.5494 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007257/0.3501, allocations: 0.5071 MB / 0.5499 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.3503, allocations: 99.3 kB / 0.55 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.3506, allocations: 216.4 kB / 0.5502 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.351, allocations: 202.2 kB / 0.5504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.351, allocations: 30.12 kB / 0.5504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.3511, allocations: 26.56 kB / 0.5504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3512, allocations: 99.84 kB / 0.5505 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.3514, allocations: 154 kB / 0.5506 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.3519, allocations: 387.8 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3519, allocations: 0 / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3519, allocations: 0 / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3519, allocations: 0 / 0.551 GB, free: 10.53 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.001113/0.353, allocations: 0.5943 MB / 0.5516 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.353, allocations: 13.73 kB / 0.5516 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.814e-05/0.3531, allocations: 43.75 kB / 0.5517 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.3538, allocations: 341.7 kB / 0.552 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3538, allocations: 31.23 kB / 0.552 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.3539, allocations: 25.81 kB / 0.552 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.3544, allocations: 333 kB / 0.5524 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3544, allocations: 1.188 kB / 0.5524 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.3545, allocations: 15.28 kB / 0.5524 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3545, allocations: 10.8 kB / 0.5524 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3548, allocations: 202.7 kB / 0.5526 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3565, allocations: 1.343 MB / 0.5539 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3569, allocations: 186.3 kB / 0.5541 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.357, allocations: 82.06 kB / 0.5541 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3571, allocations: 3.656 kB / 0.5541 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3571, allocations: 33.81 kB / 0.5542 GB, free: 7.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.3571, allocations: 0 / 0.5542 GB, free: 7.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001158/0.3583, allocations: 0.6204 MB / 0.5548 GB, free: 7.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.3584, allocations: 135.3 kB / 0.5549 GB, free: 7.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.3587, allocations: 285.4 kB / 0.5552 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3587, allocations: 31.17 kB / 0.5552 GB, free: 6.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3589, allocations: 228.1 kB / 0.5554 GB, free: 6.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.359, allocations: 71.88 kB / 0.5555 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.3591, allocations: 48.39 kB / 0.5555 GB, free: 6.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3592, allocations: 341.9 kB / 0.5559 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.3593, allocations: 49.62 kB / 0.5559 GB, free: 6.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3595, allocations: 152.1 kB / 0.5561 GB, free: 6.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3598, allocations: 221.3 kB / 0.5563 GB, free: 5.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3598, allocations: 1.125 kB / 0.5563 GB, free: 5.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004004/0.3602, allocations: 264.6 kB / 0.5565 GB, free: 5.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3602, allocations: 6.375 kB / 0.5565 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3603, allocations: 4.562 kB / 0.5565 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3603, allocations: 8.406 kB / 0.5565 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.3606, allocations: 82.8 kB / 0.5566 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.3617, allocations: 1.251 MB / 0.5578 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.3618, allocations: 9.719 kB / 0.5579 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3618, allocations: 13.62 kB / 0.5579 GB, free: 4.496 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.0001871/0.362, allocations: 163.8 kB / 0.558 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.3621, allocations: 34.69 kB / 0.5581 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.3624, allocations: 183.9 kB / 0.5582 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3624, allocations: 4.344 kB / 0.5582 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3624, allocations: 0 / 0.5582 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3625, allocations: 5.703 kB / 0.5582 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007788/0.3632, allocations: 462.5 kB / 0.5587 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3632, allocations: 0 / 0.5587 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.3635, allocations: 51.91 kB / 0.5587 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3635, allocations: 4 kB / 0.5587 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3635, allocations: 0 / 0.5587 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3635, allocations: 8.031 kB / 0.5587 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3635, allocations: 0 / 0.5587 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.364, allocations: 498.6 kB / 0.5592 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3641, allocations: 23.81 kB / 0.5592 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3641, allocations: 4 kB / 0.5592 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3643, allocations: 11.98 kB / 0.5593 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3643, allocations: 11.97 kB / 0.5593 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3643, allocations: 4 kB / 0.5593 GB, free: 3.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3645, allocations: 203.1 kB / 0.5595 GB, free: 2.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3645, allocations: 0 / 0.5595 GB, free: 2.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.365, allocations: 67.94 kB / 0.5595 GB, free: 2.82 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.0001061/0.3651, allocations: 95.25 kB / 0.5596 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3655, allocations: 155.7 kB / 0.5598 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3655, allocations: 0.875 kB / 0.5598 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3656, allocations: 75.2 kB / 0.5598 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.3663, allocations: 86.34 kB / 0.5599 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3678, allocations: 0.8648 MB / 0.5608 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.3681, allocations: 197.1 kB / 0.561 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3681, allocations: 27.44 kB / 0.561 GB, free: 1.27 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3681, allocations: 0 / 0.561 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Templates: time 0.007542/0.3757, allocations: 4.689 MB / 0.5656 GB, free: 12.59 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: 8.141471754293889] Failed to read output from testmodel.py, exit status != 0: 0.3842202480882406 0.399006432 0.043955347000000006 Calling exit ...