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.00147/0.00147, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001773/0.001773, allocations: 209.2 kB / 23.72 MB, free: 4.391 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1953/0.1953, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002475/0.002475, allocations: 71.89 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4047, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.008169/0.4128, allocations: 4.442 MB / 0.5468 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.4163, allocations: 1.392 MB / 0.5481 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.4167, allocations: 21.59 kB / 0.5481 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.4173, allocations: 108.6 kB / 0.5483 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009456/0.4182, allocations: 281.2 kB / 0.5485 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.4186, allocations: 114 kB / 0.5486 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.4195, allocations: 0.5071 MB / 0.5491 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.4197, allocations: 103.5 kB / 0.5492 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.4201, allocations: 212.8 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.4205, allocations: 206.3 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.4205, allocations: 25.5 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.4206, allocations: 26.84 kB / 0.5497 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.4207, allocations: 104 kB / 0.5498 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.4209, allocations: 148.8 kB / 0.5499 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005609/0.4215, allocations: 379.8 kB / 0.5503 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.4215, allocations: 9.734 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4215, allocations: 0 / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4215, allocations: 0 / 0.5503 GB, free: 10.54 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.001352/0.4229, allocations: 0.5937 MB / 0.5509 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4229, allocations: 13.11 kB / 0.5509 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.423, allocations: 47.94 kB / 0.5509 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/0.4238, allocations: 333.4 kB / 0.5512 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.4238, allocations: 22.78 kB / 0.5513 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.4239, allocations: 33.61 kB / 0.5513 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.4244, allocations: 333.7 kB / 0.5516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4245, allocations: 1.469 kB / 0.5516 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4245, allocations: 11.44 kB / 0.5516 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4245, allocations: 10.5 kB / 0.5516 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.4249, allocations: 202.2 kB / 0.5518 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.4266, allocations: 1.348 MB / 0.5531 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.4271, allocations: 193.5 kB / 0.5533 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4272, allocations: 70.33 kB / 0.5534 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4273, allocations: 3.25 kB / 0.5534 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.4273, allocations: 45.89 kB / 0.5534 GB, free: 7.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.4273, allocations: 0 / 0.5534 GB, free: 7.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001335/0.4287, allocations: 0.6179 MB / 0.554 GB, free: 7.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.4288, allocations: 136 kB / 0.5542 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.4292, allocations: 285.3 kB / 0.5544 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.4292, allocations: 30.98 kB / 0.5545 GB, free: 6.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4294, allocations: 223.3 kB / 0.5547 GB, free: 6.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.4295, allocations: 67.89 kB / 0.5548 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.4296, allocations: 52.42 kB / 0.5548 GB, free: 6.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.4298, allocations: 342.5 kB / 0.5551 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4299, allocations: 50.25 kB / 0.5552 GB, free: 6.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.4301, allocations: 150.6 kB / 0.5553 GB, free: 6.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.4305, allocations: 225.8 kB / 0.5555 GB, free: 5.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4305, allocations: 1.344 kB / 0.5555 GB, free: 5.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004628/0.431, allocations: 257.2 kB / 0.5558 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.431, allocations: 9.344 kB / 0.5558 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.431, allocations: 3.281 kB / 0.5558 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.431, allocations: 5.5 kB / 0.5558 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.4314, allocations: 86.05 kB / 0.5559 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4327, allocations: 1.252 MB / 0.5571 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4329, allocations: 9.281 kB / 0.5571 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.4329, allocations: 9 kB / 0.5571 GB, free: 4.52 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.000236/0.4331, allocations: 165.5 kB / 0.5573 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4332, allocations: 37.52 kB / 0.5573 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.4336, allocations: 180.1 kB / 0.5575 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4336, allocations: 3.219 kB / 0.5575 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4336, allocations: 1.094 kB / 0.5575 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.4336, allocations: 6.078 kB / 0.5575 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/0.4345, allocations: 468.9 kB / 0.5579 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4345, allocations: 0 / 0.5579 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4347, allocations: 43.91 kB / 0.558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4347, allocations: 8.031 kB / 0.558 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.4347, allocations: 11.92 kB / 0.558 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4347, allocations: 4 kB / 0.558 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4347, allocations: 0 / 0.558 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.4353, allocations: 0.4888 MB / 0.5585 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.4353, allocations: 27.81 kB / 0.5585 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.4354, allocations: 0 / 0.5585 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4356, allocations: 8 kB / 0.5585 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.4356, allocations: 12.02 kB / 0.5585 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4356, allocations: 12 kB / 0.5585 GB, free: 3.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.4358, allocations: 199.1 kB / 0.5587 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4358, allocations: 0 / 0.5587 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.4363, allocations: 63.92 kB / 0.5588 GB, free: 2.844 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.0001418/0.4364, allocations: 99.19 kB / 0.5589 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4369, allocations: 156.4 kB / 0.559 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4369, allocations: 0 / 0.559 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.437, allocations: 68.03 kB / 0.5591 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.4377, allocations: 91.08 kB / 0.5592 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.4395, allocations: 0.8282 MB / 0.56 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4397, allocations: 197.1 kB / 0.5602 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.4399, allocations: 50.94 kB / 0.5602 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.44, allocations: 27.38 kB / 0.5603 GB, free: 1.277 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.44, allocations: 0 / 0.5603 GB, free: 1.277 MB / 398.1 MB Notification: Performance of Templates: time 0.008405/0.4484, allocations: 3.32 MB / 0.5635 GB, free: 14.02 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: 5.313663974404335] Failed to read output from testmodel.py, exit status != 0: 0.458136348053813 0.472925399 0.048019057000000004 Calling exit ...