Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001434/0.001434, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001619/0.001619, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2077/0.2077, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [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.002121/0.002121, allocations: 71.89 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3949, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008291/0.4032, allocations: 5.527 MB / 0.5478 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.4074, allocations: 2.131 MB / 0.5499 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.4079, allocations: 23.5 kB / 0.5499 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.4086, allocations: 171.7 kB / 0.5501 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.4098, allocations: 456.3 kB / 0.5505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.4106, allocations: 250.1 kB / 0.5508 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4119, allocations: 0.8591 MB / 0.5516 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.4125, allocations: 383.7 kB / 0.552 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.4132, allocations: 365.9 kB / 0.5523 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.4138, allocations: 333.9 kB / 0.5526 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.4138, allocations: 54.59 kB / 0.5527 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.4142, allocations: 141.8 kB / 0.5528 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.4144, allocations: 188.9 kB / 0.553 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.4148, allocations: 252.9 kB / 0.5532 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.416, allocations: 0.7961 MB / 0.554 GB, free: 7.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.416, allocations: 0 / 0.554 GB, free: 7.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.416, allocations: 1.25 kB / 0.554 GB, free: 7.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.416, allocations: 0 / 0.554 GB, free: 7.84 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001921/0.4179, allocations: 0.8645 MB / 0.5549 GB, free: 7.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.418, allocations: 12.8 kB / 0.5549 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.4181, allocations: 67.27 kB / 0.5549 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4193, allocations: 484.3 kB / 0.5554 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.4193, allocations: 30.81 kB / 0.5554 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4195, allocations: 44.81 kB / 0.5555 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.4204, allocations: 0.5349 MB / 0.556 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.4204, allocations: 7.984 kB / 0.556 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.4205, allocations: 20 kB / 0.556 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.971e-05/0.4205, allocations: 17 kB / 0.556 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.4211, allocations: 335.6 kB / 0.5564 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.4239, allocations: 1.822 MB / 0.5581 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.4244, allocations: 221.5 kB / 0.5583 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4246, allocations: 82.95 kB / 0.5584 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.4246, allocations: 7.953 kB / 0.5584 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.4249, allocations: 168.7 kB / 0.5586 GB, free: 3.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.395e-06/0.4249, allocations: 0 / 0.5586 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00188/0.4268, allocations: 0.8649 MB / 0.5594 GB, free: 2.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4269, allocations: 132.5 kB / 0.5596 GB, free: 2.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.4274, allocations: 417.8 kB / 0.56 GB, free: 1.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.4275, allocations: 33.7 kB / 0.56 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4277, allocations: 316.3 kB / 0.5603 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.4278, allocations: 87.53 kB / 0.5604 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4279, allocations: 78.09 kB / 0.5605 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4281, allocations: 354.7 kB / 0.5608 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.4283, allocations: 88.77 kB / 0.5609 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.4286, allocations: 247.2 kB / 0.5611 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.4291, allocations: 320.1 kB / 0.5614 GB, free: 248 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4291, allocations: 0 / 0.5614 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009174/0.43, allocations: 442 kB / 0.5618 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4301, allocations: 12.09 kB / 0.5619 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4301, allocations: 4 kB / 0.5619 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.4306, allocations: 96.69 kB / 0.5619 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.431, allocations: 71.91 kB / 0.562 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.4333, allocations: 1.686 MB / 0.5637 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.4336, allocations: 23.98 kB / 0.5637 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.4337, allocations: 16 kB / 0.5637 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.434, allocations: 213.7 kB / 0.5639 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.4341, allocations: 47.7 kB / 0.564 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.4347, allocations: 284.5 kB / 0.5642 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4347, allocations: 4 kB / 0.5642 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4347, allocations: 0 / 0.5642 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4347, allocations: 3.938 kB / 0.5642 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.4359, allocations: 0.6588 MB / 0.5649 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4359, allocations: 4 kB / 0.5649 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.4362, allocations: 47.91 kB / 0.5649 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.4364, allocations: 56.73 kB / 0.565 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.4364, allocations: 4 kB / 0.565 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.4379, allocations: 1.417 MB / 0.5664 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4379, allocations: 8.062 kB / 0.5664 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.4387, allocations: 469.5 kB / 0.5668 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4388, allocations: 59.75 kB / 0.5669 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.4389, allocations: 8 kB / 0.5669 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4391, allocations: 15.98 kB / 0.5669 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.4392, allocations: 27.89 kB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4392, allocations: 4 kB / 0.5669 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003537/0.4395, allocations: 287.1 kB / 0.5672 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4395, allocations: 4 kB / 0.5672 GB, free: 10.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.4401, allocations: 127.9 kB / 0.5673 GB, free: 9.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.4419, allocations: 476.4 kB / 0.5678 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.4428, allocations: 405.8 kB / 0.5682 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4428, allocations: 0 / 0.5682 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.4432, allocations: 231.5 kB / 0.5684 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.4439, allocations: 134.7 kB / 0.5685 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.446, allocations: 1.203 MB / 0.5697 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4464, allocations: 277.7 kB / 0.57 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.4466, allocations: 59.36 kB / 0.57 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.4467, allocations: 35.42 kB / 0.5701 GB, free: 7.207 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4467, allocations: 0 / 0.5701 GB, free: 7.207 MB / 414.1 MB Notification: Performance of Templates: time 0.01528/0.4619, allocations: 7.167 MB / 0.5771 GB, free: 156 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.608483320102096] Failed to read output from testmodel.py, exit status != 0: 0.4714554473757744 0.48701473599999995 0.06782798099999994 Calling exit ...