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.0008282/0.0008282, allocations: 93.41 kB / 16.3 MB, free: 5.996 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.0009814/0.0009814, allocations: 179.9 kB / 17.2 MB, free: 5.914 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.245/1.245, allocations: 223.2 MB / 241.1 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2869/0.2869, allocations: 38.07 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003636, allocations: 12 kB / 400 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 59.15 MB / 459.1 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.001974/0.2719, allocations: 2.076 MB / 461.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.2723, allocations: 402.7 kB / 461.6 MB, free: 28.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.2724, allocations: 5.219 kB / 461.6 MB, free: 28.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.2724, allocations: 12.08 kB / 461.6 MB, free: 28.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2725, allocations: 27.84 kB / 461.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.848e-05/0.2726, allocations: 17.73 kB / 461.7 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2727, allocations: 65.92 kB / 461.7 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.2728, allocations: 22.33 kB / 461.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.2729, allocations: 41.78 kB / 461.8 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.273, allocations: 41.55 kB / 461.8 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.273, allocations: 3.156 kB / 461.8 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.273, allocations: 4.25 kB / 461.8 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.273, allocations: 18.7 kB / 461.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.2731, allocations: 36.53 kB / 461.9 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.2732, allocations: 62.44 kB / 461.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.2732, allocations: 1.438 kB / 461.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2732, allocations: 0 / 461.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2732, allocations: 0 / 461.9 MB, free: 28.63 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.0004712/0.2737, allocations: 412.7 kB / 462.3 MB, free: 28.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2737, allocations: 9.031 kB / 462.4 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2737, allocations: 9.031 kB / 462.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2739, allocations: 188.4 kB / 462.5 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2739, allocations: 4.062 kB / 462.6 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.2739, allocations: 15.42 kB / 462.6 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2741, allocations: 93.59 kB / 462.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2742, allocations: 0 / 462.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2742, allocations: 4.969 kB / 462.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2742, allocations: 6.516 kB / 462.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.2744, allocations: 86.12 kB / 462.8 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.2751, allocations: 454.1 kB / 463.2 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.2754, allocations: 109.2 kB / 463.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2754, allocations: 1.406 kB / 463.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.2754, allocations: 36.66 kB / 463.3 MB, free: 27.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2754, allocations: 0 / 463.3 MB, free: 27.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.2758, allocations: 150.1 kB / 463.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.2759, allocations: 56.5 kB / 463.5 MB, free: 27.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.276, allocations: 145.9 kB / 463.7 MB, free: 27.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.276, allocations: 30.86 kB / 463.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.276, allocations: 106.2 kB / 463.8 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.276, allocations: 25.16 kB / 463.8 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.2761, allocations: 5.125 kB / 463.9 MB, free: 27.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.2761, allocations: 320.7 kB / 464.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2762, allocations: 35.84 kB / 464.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2763, allocations: 69.02 kB / 464.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.2765, allocations: 43.09 kB / 464.3 MB, free: 26.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2765, allocations: 4 kB / 464.3 MB, free: 26.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002771/0.2768, allocations: 141 kB / 464.4 MB, free: 26.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.2768, allocations: 4.406 kB / 464.5 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2768, allocations: 2.125 kB / 464.5 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2768, allocations: 5.703 kB / 464.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.277, allocations: 28.31 kB / 464.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.277, allocations: 2.406 kB / 464.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2771, allocations: 26.31 kB / 464.5 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2771, allocations: 4.172 kB / 464.5 MB, free: 26.56 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 5.641e-05/0.2772, allocations: 119.1 kB / 464.6 MB, free: 26.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.2772, allocations: 12.19 kB / 464.6 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.2775, allocations: 130 kB / 464.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2775, allocations: 2.875 kB / 464.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2775, allocations: 0 / 464.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2775, allocations: 0.75 kB / 464.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.2777, allocations: 221.2 kB / 465 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2777, allocations: 0 / 465 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.2779, allocations: 30.64 kB / 465 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2779, allocations: 1.406 kB / 465 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2779, allocations: 0.5156 kB / 465 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2779, allocations: 5.062 kB / 465 MB, free: 26.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2779, allocations: 0.5156 kB / 465 MB, free: 26.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.2783, allocations: 269 kB / 465.3 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.2784, allocations: 87.52 kB / 465.4 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2784, allocations: 5.766 kB / 465.4 MB, free: 25.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2785, allocations: 14.06 kB / 465.4 MB, free: 25.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2786, allocations: 8.703 kB / 465.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2786, allocations: 2.188 kB / 465.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.2786, allocations: 106.5 kB / 465.5 MB, free: 25.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2786, allocations: 1.531 kB / 465.5 MB, free: 25.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.2789, allocations: 24.08 kB / 465.5 MB, free: 25.75 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 8.3e-05/0.279, allocations: 100.8 kB / 465.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.2792, allocations: 103.3 kB / 465.7 MB, free: 25.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2793, allocations: 0 / 465.7 MB, free: 25.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2794, allocations: 47.77 kB / 465.8 MB, free: 25.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.2796, allocations: 8.969 kB / 465.8 MB, free: 25.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.2801, allocations: 392.2 kB / 466.2 MB, free: 25.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2802, allocations: 0.703 MB / 466.9 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.2803, allocations: 9.5 kB / 466.9 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2803, allocations: 11.33 kB / 466.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2803, allocations: 1.188 kB / 466.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of Templates: time 0.002803/0.2831, allocations: 0.8908 MB / 467.8 MB, free: 24.55 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