Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002097/0.002097, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007893/0.0007895, allocations: 90.97 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1604/0.1604, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2519, allocations: 56.31 MB / 480.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3649, allocations: 87.72 MB / 0.5547 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3651, allocations: 79.95 kB / 0.5548 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004963/0.3701, allocations: 1.743 MB / 0.5565 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3701, allocations: 0 / 0.5565 GB, free: 12.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3701, allocations: 4 kB / 0.5565 GB, free: 12.88 MB / 394.7 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.0005113/0.3707, allocations: 415.2 kB / 0.5569 GB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3707, allocations: 12.02 kB / 0.5569 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3708, allocations: 9.766 kB / 0.5569 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3709, allocations: 190.8 kB / 0.5571 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3709, allocations: 8 kB / 0.5571 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.371, allocations: 4 kB / 0.5571 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3712, allocations: 100.6 kB / 0.5572 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3712, allocations: 0 / 0.5572 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3713, allocations: 0 / 0.5572 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3713, allocations: 4 kB / 0.5572 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3715, allocations: 87.88 kB / 0.5573 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.3723, allocations: 449.3 kB / 0.5577 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3726, allocations: 102.6 kB / 0.5578 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3726, allocations: 4 kB / 0.5578 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3727, allocations: 30.56 kB / 0.5578 GB, free: 11.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3727, allocations: 0 / 0.5578 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004414/0.3731, allocations: 161.5 kB / 0.558 GB, free: 11.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3732, allocations: 59.34 kB / 0.5581 GB, free: 11.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.3733, allocations: 128.9 kB / 0.5582 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3733, allocations: 29.64 kB / 0.5582 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.3733, allocations: 108 kB / 0.5583 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3734, allocations: 19.8 kB / 0.5583 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.3734, allocations: 4 kB / 0.5583 GB, free: 10.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3735, allocations: 322.8 kB / 0.5586 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3736, allocations: 35.97 kB / 0.5587 GB, free: 10.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3738, allocations: 75.34 kB / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3739, allocations: 35.98 kB / 0.5588 GB, free: 10.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3739, allocations: 0 / 0.5588 GB, free: 10.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002999/0.3742, allocations: 145.4 kB / 0.5589 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3742, allocations: 11.95 kB / 0.5589 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3743, allocations: 0 / 0.5589 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3743, allocations: 0 / 0.5589 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3744, allocations: 32.08 kB / 0.559 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3745, allocations: 0 / 0.559 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3746, allocations: 27.83 kB / 0.559 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3746, allocations: 0 / 0.559 GB, free: 10.09 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.3747, allocations: 117.8 kB / 0.5591 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3747, allocations: 7.906 kB / 0.5591 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.3751, allocations: 150.3 kB / 0.5592 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3751, allocations: 0 / 0.5592 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3751, allocations: 0 / 0.5592 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3751, allocations: 3.984 kB / 0.5593 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.3753, allocations: 201.6 kB / 0.5594 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3753, allocations: 0 / 0.5594 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.3755, allocations: 43.91 kB / 0.5595 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3755, allocations: 0 / 0.5595 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3755, allocations: 0 / 0.5595 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3755, allocations: 3.953 kB / 0.5595 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3755, allocations: 0 / 0.5595 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.376, allocations: 271.8 kB / 0.5597 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.376, allocations: 88.98 kB / 0.5598 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3761, allocations: 4 kB / 0.5598 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3762, allocations: 11.98 kB / 0.5598 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3763, allocations: 16 kB / 0.5599 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3763, allocations: 0 / 0.5599 GB, free: 9.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.3763, allocations: 107.2 kB / 0.56 GB, free: 8.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3763, allocations: 0 / 0.56 GB, free: 8.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.3766, allocations: 28 kB / 0.56 GB, free: 8.961 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.3767, allocations: 99.17 kB / 0.5601 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.377, allocations: 100.2 kB / 0.5602 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.377, allocations: 0 / 0.5602 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3771, allocations: 52.05 kB / 0.5602 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3774, allocations: 12.25 kB / 0.5602 GB, free: 8.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.378, allocations: 381.1 kB / 0.5606 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3782, allocations: 0.7043 MB / 0.5613 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.3783, allocations: 4.672 kB / 0.5613 GB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.3783, allocations: 15.42 kB / 0.5613 GB, free: 7.543 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3783, allocations: 4 kB / 0.5613 GB, free: 7.539 MB / 394.7 MB Notification: Performance of Templates: time 0.002765/0.3811, allocations: 0.8883 MB / 0.5622 GB, free: 6.66 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches