Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.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.001353/0.001353, 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.001881/0.001881, allocations: 209 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1866/0.1866, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") [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.002317/0.002317, allocations: 75.89 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3417, allocations: 62.46 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003888/0.3456, allocations: 2.526 MB / 0.5456 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.3462, allocations: 431.4 kB / 0.546 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.3463, allocations: 5.312 kB / 0.546 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.456e-05/0.3464, allocations: 7.875 kB / 0.546 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3465, allocations: 31.89 kB / 0.5461 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.3466, allocations: 26.7 kB / 0.5461 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3468, allocations: 100.2 kB / 0.5462 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3469, allocations: 10.75 kB / 0.5462 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3471, allocations: 56.39 kB / 0.5463 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.3472, allocations: 41.52 kB / 0.5463 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3472, allocations: 7.688 kB / 0.5463 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.233e-05/0.3472, allocations: 7.781 kB / 0.5463 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.3473, allocations: 18.89 kB / 0.5463 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3473, allocations: 35.33 kB / 0.5464 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3475, allocations: 102.7 kB / 0.5465 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3475, allocations: 0 / 0.5465 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3475, allocations: 0 / 0.5465 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3475, allocations: 0 / 0.5465 GB, free: 13.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000662/0.3481, allocations: 332.1 kB / 0.5468 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3482, allocations: 17.02 kB / 0.5468 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3482, allocations: 14.41 kB / 0.5468 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3484, allocations: 138.4 kB / 0.5469 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3484, allocations: 3.75 kB / 0.5469 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.3485, allocations: 12.72 kB / 0.547 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3487, allocations: 93.86 kB / 0.5471 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3487, allocations: 0 / 0.5471 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3488, allocations: 5.172 kB / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3488, allocations: 1.094 kB / 0.5471 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.349, allocations: 81.48 kB / 0.5471 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.3498, allocations: 361.9 kB / 0.5475 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.3502, allocations: 92.73 kB / 0.5476 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3503, allocations: 38.59 kB / 0.5476 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3503, allocations: 3.984 kB / 0.5476 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3503, allocations: 40.08 kB / 0.5476 GB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3503, allocations: 1.156 kB / 0.5476 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004733/0.3508, allocations: 132.9 kB / 0.5478 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3508, allocations: 60.45 kB / 0.5478 GB, free: 12.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.351, allocations: 139.1 kB / 0.548 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.351, allocations: 25.7 kB / 0.548 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.351, allocations: 101.2 kB / 0.5481 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.3511, allocations: 26.48 kB / 0.5481 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.3511, allocations: 32.08 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3513, allocations: 317.7 kB / 0.5484 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3514, allocations: 38.94 kB / 0.5485 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3515, allocations: 56.62 kB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3518, allocations: 95.75 kB / 0.5486 GB, free: 11.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3518, allocations: 5.406 kB / 0.5486 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003219/0.3521, allocations: 131.2 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3521, allocations: 5.562 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3521, allocations: 1.094 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3521, allocations: 2.156 kB / 0.5488 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3523, allocations: 36.88 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3523, allocations: 1.062 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3524, allocations: 14.53 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3524, allocations: 7.188 kB / 0.5488 GB, free: 11.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001052/0.3525, allocations: 118.2 kB / 0.5489 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3526, allocations: 8.172 kB / 0.5489 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.3529, allocations: 125.2 kB / 0.5491 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3529, allocations: 6.219 kB / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.353, allocations: 0 / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.353, allocations: 0 / 0.5491 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3532, allocations: 148.4 kB / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3532, allocations: 0 / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3534, allocations: 23.55 kB / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3534, allocations: 192 / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3534, allocations: 9.438 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3534, allocations: 3.938 kB / 0.5492 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3534, allocations: 7.922 kB / 0.5493 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.3539, allocations: 259.1 kB / 0.5495 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.3539, allocations: 11.39 kB / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3539, allocations: 0 / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.354, allocations: 9.641 kB / 0.5495 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3541, allocations: 10.31 kB / 0.5495 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3541, allocations: 1.156 kB / 0.5495 GB, free: 11.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.3542, allocations: 105.7 kB / 0.5496 GB, free: 11.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 0.5496 GB, free: 11.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.3544, allocations: 21.22 kB / 0.5497 GB, free: 11.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001034/0.3546, allocations: 95.28 kB / 0.5497 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.3549, allocations: 81.55 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3549, allocations: 0.9062 kB / 0.5498 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.355, allocations: 42.59 kB / 0.5499 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3553, allocations: 11.91 kB / 0.5499 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.356, allocations: 364.4 kB / 0.5502 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.356, allocations: 88.53 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3561, allocations: 11.22 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3561, allocations: 0 / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Templates: time 0.003067/0.3592, allocations: 1.304 MB / 0.5516 GB, free: 9.859 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.493531058076769] Failed to read output from testmodel.py, exit status != 0: 0.36824797792360187 0.38292675899999995 0.032268551 Calling exit ...