Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001712/0.001712, 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.001412/0.001412, allocations: 211 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.56 MB / 353.2 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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [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.002205/0.002205, allocations: 70.39 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3478, allocations: 62.46 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007974/0.3558, allocations: 4.694 MB / 0.5477 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3587, allocations: 1.391 MB / 0.5491 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.3589, allocations: 21.72 kB / 0.5491 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.3594, allocations: 107.8 kB / 0.5492 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.3601, allocations: 263.9 kB / 0.5495 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.3605, allocations: 138.9 kB / 0.5496 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.3613, allocations: 0.5924 MB / 0.5502 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.3618, allocations: 283.3 kB / 0.5505 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.3622, allocations: 254.7 kB / 0.5507 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.3626, allocations: 234.8 kB / 0.5509 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.3627, allocations: 38.88 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.3628, allocations: 40.62 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3629, allocations: 121.7 kB / 0.5511 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.3632, allocations: 176.9 kB / 0.5513 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.3638, allocations: 0.5124 MB / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3638, allocations: 0 / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3638, allocations: 0 / 0.5518 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.3638, allocations: 0 / 0.5518 GB, free: 9.973 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001365/0.3652, allocations: 0.6468 MB / 0.5524 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3652, allocations: 17.75 kB / 0.5524 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3653, allocations: 49.83 kB / 0.5525 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.366, allocations: 351.4 kB / 0.5528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3662, allocations: 85.34 kB / 0.5529 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.3662, allocations: 39.7 kB / 0.5529 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.367, allocations: 431.5 kB / 0.5534 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.367, allocations: 9.516 kB / 0.5534 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.367, allocations: 12.34 kB / 0.5534 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.367, allocations: 11.59 kB / 0.5534 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.3676, allocations: 273.7 kB / 0.5536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.3699, allocations: 1.623 MB / 0.5552 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.3703, allocations: 177.8 kB / 0.5554 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3704, allocations: 70.67 kB / 0.5555 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3704, allocations: 2.344 kB / 0.5555 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.3705, allocations: 33.91 kB / 0.5555 GB, free: 6.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.3705, allocations: 0 / 0.5555 GB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001439/0.3719, allocations: 0.6477 MB / 0.5561 GB, free: 6.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.372, allocations: 110 kB / 0.5562 GB, free: 6.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.3724, allocations: 295.6 kB / 0.5565 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3724, allocations: 31.95 kB / 0.5565 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3726, allocations: 247.1 kB / 0.5568 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.3727, allocations: 76.14 kB / 0.5569 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3728, allocations: 69.62 kB / 0.5569 GB, free: 5.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.373, allocations: 337.8 kB / 0.5572 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.3731, allocations: 75.08 kB / 0.5573 GB, free: 5.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3734, allocations: 200.2 kB / 0.5575 GB, free: 5.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3739, allocations: 295.8 kB / 0.5578 GB, free: 4.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3739, allocations: 4 kB / 0.5578 GB, free: 4.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005966/0.3745, allocations: 320.9 kB / 0.5581 GB, free: 4.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3745, allocations: 8 kB / 0.5581 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3745, allocations: 7.938 kB / 0.5581 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3745, allocations: 8 kB / 0.5581 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.3748, allocations: 80.45 kB / 0.5582 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3748, allocations: 11.94 kB / 0.5582 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.375, allocations: 15.95 kB / 0.5582 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3751, allocations: 16 kB / 0.5582 GB, free: 4.328 MB / 398.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3753, allocations: 181.7 kB / 0.5584 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.3753, allocations: 27.81 kB / 0.5584 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.3758, allocations: 199.7 kB / 0.5586 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3758, allocations: 0 / 0.5586 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3758, allocations: 4 kB / 0.5586 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.3758, allocations: 7.984 kB / 0.5586 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.3767, allocations: 0.5019 MB / 0.5591 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3767, allocations: 0 / 0.5591 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.377, allocations: 43.97 kB / 0.5592 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.377, allocations: 0 / 0.5592 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.377, allocations: 7.938 kB / 0.5592 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.377, allocations: 11.88 kB / 0.5592 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.377, allocations: 0 / 0.5592 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.3776, allocations: 448.2 kB / 0.5596 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.3777, allocations: 27.84 kB / 0.5596 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3777, allocations: 8 kB / 0.5597 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3779, allocations: 8 kB / 0.5597 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.378, allocations: 15.91 kB / 0.5597 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.378, allocations: 16 kB / 0.5597 GB, free: 2.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3782, allocations: 191.1 kB / 0.5599 GB, free: 2.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 0.5599 GB, free: 2.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.3787, allocations: 72 kB / 0.5599 GB, free: 2.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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.0001343/0.3788, allocations: 103.2 kB / 0.56 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3793, allocations: 199.5 kB / 0.5602 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3793, allocations: 0 / 0.5602 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.3794, allocations: 77.03 kB / 0.5603 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.3801, allocations: 75.7 kB / 0.5604 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3819, allocations: 0.9228 MB / 0.5613 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3822, allocations: 210.5 kB / 0.5615 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.3823, allocations: 31.42 kB / 0.5615 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3823, allocations: 0 / 0.5615 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Templates: time 0.008615/0.3909, allocations: 4.483 MB / 0.5659 GB, free: 12.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.309616858139634] Failed to read output from testmodel.py, exit status != 0: 0.4003702667541802 0.426797728 0.057959507 Calling exit ...