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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007499/0.0007499, allocations: 86 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008475/0.0008478, allocations: 180 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 241.2 MB, free: 5.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2829/0.2829, allocations: 38.07 MB / 330.4 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 15.98 kB / 400.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2634, allocations: 59.16 MB / 459.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00248/0.2659, allocations: 2.092 MB / 461.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.2665, allocations: 413.8 kB / 461.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.2666, allocations: 1.656 kB / 461.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.528e-05/0.2667, allocations: 5.953 kB / 461.7 MB, free: 28.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2668, allocations: 27.41 kB / 461.8 MB, free: 28.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.35e-05/0.2669, allocations: 17.66 kB / 461.8 MB, free: 28.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2671, allocations: 87.02 kB / 461.9 MB, free: 28.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2672, allocations: 22.72 kB / 461.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2673, allocations: 38.33 kB / 461.9 MB, free: 28.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.2674, allocations: 41.02 kB / 462 MB, free: 28.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2675, allocations: 4.094 kB / 462 MB, free: 28.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.2675, allocations: 4.406 kB / 462 MB, free: 28.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.2675, allocations: 17.83 kB / 462 MB, free: 28.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2676, allocations: 40.58 kB / 462 MB, free: 28.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2677, allocations: 66.5 kB / 462.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2677, allocations: 1.062 kB / 462.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2677, allocations: 0 / 462.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2677, allocations: 4 kB / 462.1 MB, free: 28.19 MB / 350.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.0005795/0.2683, allocations: 401.1 kB / 462.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2683, allocations: 10.47 kB / 462.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2684, allocations: 16.47 kB / 462.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2685, allocations: 184.8 kB / 462.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2686, allocations: 2.188 kB / 462.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.2686, allocations: 12.33 kB / 462.7 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.2688, allocations: 94.88 kB / 462.8 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2689, allocations: 5.625 kB / 462.8 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2689, allocations: 5.156 kB / 462.8 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2689, allocations: 1.219 kB / 462.8 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.2691, allocations: 82.2 kB / 462.9 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.2699, allocations: 466.4 kB / 463.4 MB, free: 27.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2702, allocations: 97.89 kB / 463.4 MB, free: 27.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2703, allocations: 50 kB / 463.5 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.2704, allocations: 1.125 kB / 463.5 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.2704, allocations: 32.23 kB / 463.5 MB, free: 26.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2704, allocations: 0 / 463.5 MB, free: 26.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004192/0.2708, allocations: 157.9 kB / 463.7 MB, free: 26.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.2708, allocations: 53.27 kB / 463.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.2709, allocations: 145.5 kB / 463.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.271, allocations: 27.02 kB / 463.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.271, allocations: 106.8 kB / 464 MB, free: 26.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.271, allocations: 25.05 kB / 464 MB, free: 26.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.2711, allocations: 1.125 kB / 464 MB, free: 26.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.2711, allocations: 324.2 kB / 464.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2712, allocations: 37.94 kB / 464.4 MB, free: 26.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2714, allocations: 67.94 kB / 464.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.2715, allocations: 50.23 kB / 464.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2715, allocations: 0 / 464.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002948/0.2718, allocations: 141.5 kB / 464.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2718, allocations: 5.969 kB / 464.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2718, allocations: 1.391 kB / 464.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2718, allocations: 6.375 kB / 464.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.272, allocations: 32.92 kB / 464.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.272, allocations: 9.844 kB / 464.7 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2721, allocations: 18.69 kB / 464.7 MB, free: 26.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2721, allocations: 3.375 kB / 464.7 MB, free: 26.1 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.2722, allocations: 118.8 kB / 464.8 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.2723, allocations: 8 kB / 464.8 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.2726, allocations: 135.6 kB / 465 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2726, allocations: 1.281 kB / 465 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2726, allocations: 0 / 465 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2726, allocations: 13.44 kB / 465 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.2729, allocations: 209.3 kB / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2729, allocations: 0 / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.273, allocations: 26.78 kB / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.273, allocations: 5.188 kB / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2731, allocations: 0 / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2731, allocations: 1.531 kB / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2731, allocations: 0 / 465.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.2735, allocations: 272.7 kB / 465.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2735, allocations: 92.84 kB / 465.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2735, allocations: 1.75 kB / 465.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2737, allocations: 12.7 kB / 465.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.2737, allocations: 5.547 kB / 465.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2737, allocations: 2.375 kB / 465.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.535e-05/0.2738, allocations: 116.3 kB / 465.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2738, allocations: 0 / 465.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.274, allocations: 18.12 kB / 465.7 MB, free: 25.3 MB / 350.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 (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 7.715e-05/0.2741, allocations: 92.95 kB / 465.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.2744, allocations: 98.92 kB / 465.9 MB, free: 25.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2744, allocations: 0 / 465.9 MB, free: 25.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2746, allocations: 47.52 kB / 466 MB, free: 25.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2749, allocations: 12.39 kB / 466 MB, free: 25.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.2755, allocations: 387.9 kB / 466.4 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2756, allocations: 0.703 MB / 467.1 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.2757, allocations: 5.266 kB / 467.1 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.2757, allocations: 16.33 kB / 467.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2757, allocations: 0 / 467.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of Templates: time 0.003262/0.279, allocations: 0.8963 MB / 468 MB, free: 24.11 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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