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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 252.5 MB, free: 13 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.1869/0.1869, allocations: 38.53 MB / 346.3 MB, free: 2.082 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.009325/0.4261, allocations: 4.692 MB / 0.5376 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.4292, allocations: 1.515 MB / 0.5391 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.4296, allocations: 21.28 kB / 0.5391 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.4302, allocations: 120.8 kB / 0.5392 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.4312, allocations: 276.6 kB / 0.5395 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.4317, allocations: 122.1 kB / 0.5396 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.4328, allocations: 0.4964 MB / 0.5401 GB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.4331, allocations: 106.8 kB / 0.5402 GB, free: 256 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.4335, allocations: 210.4 kB / 0.5404 GB, free: 136 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.434, allocations: 221.8 kB / 0.5406 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.4341, allocations: 25.69 kB / 0.5406 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.4342, allocations: 30.25 kB / 0.5407 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.4344, allocations: 104.6 kB / 0.5408 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.4348, allocations: 181 kB / 0.5409 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000817/0.4356, allocations: 383.8 kB / 0.5413 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4356, allocations: 0 / 0.5413 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4356, allocations: 0 / 0.5413 GB, free: 15.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4356, allocations: 1.281 kB / 0.5413 GB, free: 15.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.001599/0.4372, allocations: 0.5969 MB / 0.5419 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4372, allocations: 9.938 kB / 0.5419 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.4374, allocations: 47.75 kB / 0.5419 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.4384, allocations: 329.7 kB / 0.5423 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.4384, allocations: 26.66 kB / 0.5423 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.4385, allocations: 29.33 kB / 0.5423 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.4394, allocations: 339.3 kB / 0.5426 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.4395, allocations: 5.172 kB / 0.5426 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.4395, allocations: 10.28 kB / 0.5426 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.4395, allocations: 7.625 kB / 0.5427 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.4401, allocations: 207.5 kB / 0.5429 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.4427, allocations: 1.446 MB / 0.5443 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.4433, allocations: 189.4 kB / 0.5444 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.4435, allocations: 70.52 kB / 0.5445 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.4435, allocations: 10.14 kB / 0.5445 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.4435, allocations: 41.22 kB / 0.5446 GB, free: 12.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/0.4435, allocations: 0 / 0.5446 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001819/0.4454, allocations: 0.6215 MB / 0.5452 GB, free: 12.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002671/0.4456, allocations: 136 kB / 0.5453 GB, free: 12.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.4462, allocations: 324.2 kB / 0.5456 GB, free: 11.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.4462, allocations: 32.83 kB / 0.5456 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.4465, allocations: 214.4 kB / 0.5458 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4466, allocations: 68.45 kB / 0.5459 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.4467, allocations: 55.7 kB / 0.546 GB, free: 11.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004247/0.4471, allocations: 345.9 kB / 0.5463 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4473, allocations: 54.77 kB / 0.5463 GB, free: 11.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4476, allocations: 145.3 kB / 0.5465 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.448, allocations: 227.6 kB / 0.5467 GB, free: 10.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.448, allocations: 1.156 kB / 0.5467 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006525/0.4487, allocations: 259 kB / 0.5469 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4487, allocations: 7.406 kB / 0.547 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4487, allocations: 2.375 kB / 0.547 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.4487, allocations: 9.188 kB / 0.547 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.4494, allocations: 78.89 kB / 0.547 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.4509, allocations: 1.269 MB / 0.5483 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.4512, allocations: 16.2 kB / 0.5483 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.4512, allocations: 9.031 kB / 0.5483 GB, free: 9.34 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.0003488/0.4516, allocations: 169 kB / 0.5485 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.4517, allocations: 38.86 kB / 0.5485 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.4523, allocations: 183.4 kB / 0.5487 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.4523, allocations: 2.781 kB / 0.5487 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4523, allocations: 1.094 kB / 0.5487 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4523, allocations: 5.469 kB / 0.5487 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.4539, allocations: 0.5134 MB / 0.5492 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4539, allocations: 5.266 kB / 0.5492 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4542, allocations: 36.3 kB / 0.5492 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.4542, allocations: 2.625 kB / 0.5492 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.4542, allocations: 6.875 kB / 0.5492 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.4542, allocations: 9.25 kB / 0.5492 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4543, allocations: 1.344 kB / 0.5492 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.4552, allocations: 0.492 MB / 0.5497 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4553, allocations: 32.55 kB / 0.5498 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.4554, allocations: 10.19 kB / 0.5498 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.4557, allocations: 6.156 kB / 0.5498 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.4558, allocations: 21.23 kB / 0.5498 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4558, allocations: 5.469 kB / 0.5498 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004458/0.4562, allocations: 225.7 kB / 0.55 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4562, allocations: 0 / 0.55 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008478/0.4571, allocations: 56.84 kB / 0.5501 GB, free: 7.988 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.0002365/0.4573, allocations: 96.28 kB / 0.5502 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000623/0.458, allocations: 159.3 kB / 0.5503 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.458, allocations: 0 / 0.5503 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.4581, allocations: 69.47 kB / 0.5504 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4593, allocations: 103.2 kB / 0.5505 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.4619, allocations: 0.8349 MB / 0.5513 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.4625, allocations: 0.799 MB / 0.5521 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.4628, allocations: 56.27 kB / 0.5521 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4629, allocations: 25.84 kB / 0.5521 GB, free: 6.367 MB / 398.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4629, allocations: 0 / 0.5521 GB, free: 6.367 MB / 398.1 MB Notification: Performance of Templates: time 0.01247/0.4754, allocations: 3.424 MB / 0.5555 GB, free: 4.477 MB / 398.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.319549094885588] Failed to read output from testmodel.py, exit status != 0: 0.48551576398313046 0.503883091 0.065021471 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fad09a957b0>