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.001763/0.001763, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.375/1.375, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.000986/0.0009855, allocations: 95.91 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1827/0.1827, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3646, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00393/0.3685, allocations: 2.497 MB / 479.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.3692, allocations: 480.8 kB / 480.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3693, allocations: 6.094 kB / 480.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3694, allocations: 6.984 kB / 480.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3695, allocations: 18.94 kB / 480.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3697, allocations: 25.38 kB / 480.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3699, allocations: 99.3 kB / 480.2 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.37, allocations: 18.89 kB / 480.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3701, allocations: 35.66 kB / 480.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.3702, allocations: 44.69 kB / 480.3 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.3702, allocations: 5.531 kB / 480.3 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.3703, allocations: 4.125 kB / 480.3 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.3703, allocations: 18.84 kB / 480.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.3703, allocations: 36.42 kB / 480.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3705, allocations: 90.36 kB / 480.5 MB, free: 7.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3705, allocations: 4 kB / 480.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3705, allocations: 1.406 kB / 480.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3705, allocations: 0 / 480.5 MB, free: 7.629 MB / 314.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.0006304/0.3712, allocations: 416.4 kB / 480.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3712, allocations: 13.22 kB / 480.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3713, allocations: 15.42 kB / 480.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3714, allocations: 188.9 kB / 481.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3714, allocations: 6.688 kB / 481.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.3715, allocations: 12.59 kB / 481.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.3717, allocations: 87.66 kB / 481.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3717, allocations: 2.031 kB / 481.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3718, allocations: 0 / 481.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3718, allocations: 2.406 kB / 481.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.372, allocations: 72.77 kB / 481.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.3728, allocations: 466 kB / 481.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3731, allocations: 93.2 kB / 481.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.3733, allocations: 40.83 kB / 481.9 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3733, allocations: 6.234 kB / 481.9 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3733, allocations: 35.94 kB / 481.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3733, allocations: 0 / 481.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004685/0.3738, allocations: 135.4 kB / 482 MB, free: 6.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3738, allocations: 65.38 kB / 482.1 MB, free: 6.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.374, allocations: 144.7 kB / 482.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.374, allocations: 25.7 kB / 482.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.374, allocations: 104 kB / 482.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3741, allocations: 30.48 kB / 482.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3741, allocations: 20.8 kB / 482.4 MB, free: 5.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.3742, allocations: 321.4 kB / 482.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3743, allocations: 39.53 kB / 482.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3744, allocations: 60.83 kB / 482.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3747, allocations: 106 kB / 482.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3747, allocations: 0 / 482.9 MB, free: 5.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003219/0.375, allocations: 124.8 kB / 483 MB, free: 5.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.375, allocations: 5.375 kB / 483 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3751, allocations: 1.062 kB / 483 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3751, allocations: 5 kB / 483.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3753, allocations: 34.86 kB / 483.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3753, allocations: 5.469 kB / 483.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3754, allocations: 8.609 kB / 483.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3754, allocations: 3.531 kB / 483.1 MB, free: 5.477 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/0.3755, allocations: 118.3 kB / 483.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3755, allocations: 13.86 kB / 483.2 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3759, allocations: 132.8 kB / 483.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3759, allocations: 6.406 kB / 483.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3759, allocations: 0 / 483.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3759, allocations: 1 kB / 483.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3762, allocations: 217.6 kB / 483.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3762, allocations: 0 / 483.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3764, allocations: 23.72 kB / 483.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3764, allocations: 0 / 483.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3764, allocations: 2.281 kB / 483.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3764, allocations: 3.938 kB / 483.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3765, allocations: 0.9688 kB / 483.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3777, allocations: 1.127 MB / 484.7 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.3777, allocations: 84.36 kB / 484.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3778, allocations: 5.641 kB / 484.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3779, allocations: 6.562 kB / 484.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3779, allocations: 5.109 kB / 484.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.378, allocations: 7.062 kB / 484.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.132e-05/0.3781, allocations: 113 kB / 485 MB, free: 3.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3781, allocations: 0 / 485 MB, free: 3.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.3784, allocations: 22.12 kB / 485 MB, free: 3.766 MB / 314.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 (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.000108/0.3785, allocations: 102.6 kB / 485.1 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.3788, allocations: 80.61 kB / 485.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3788, allocations: 3.938 kB / 485.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3789, allocations: 39.95 kB / 485.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3793, allocations: 12.81 kB / 485.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.38, allocations: 491.1 kB / 485.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3802, allocations: 0.7014 MB / 486.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.3803, allocations: 6.844 kB / 486.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.3803, allocations: 10.97 kB / 486.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3803, allocations: 4 kB / 486.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of Templates: time 0.003831/0.3842, allocations: 0.9952 MB / 487.4 MB, free: 2.434 MB / 314.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@2/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