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.0009948/0.0009948, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001053/0.001053, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.33/1.33, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1762/0.1762, allocations: 38.04 MB / 330.5 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.19 kB / 400.3 MB, free: 33.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 58.06 MB / 458.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003977/0.1104, allocations: 2.454 MB / 460.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005766/0.111, allocations: 434.9 kB / 461.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1111, allocations: 0 / 461.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1112, allocations: 15.86 kB / 461.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1114, allocations: 31.72 kB / 461.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.534e-05/0.1115, allocations: 15.97 kB / 461.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1116, allocations: 103.6 kB / 461.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1118, allocations: 27.97 kB / 461.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1119, allocations: 35.86 kB / 461.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.112, allocations: 47.83 kB / 461.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.112, allocations: 8 kB / 461.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.112, allocations: 8 kB / 461.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.1121, allocations: 23.84 kB / 461.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.1121, allocations: 47.72 kB / 461.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1123, allocations: 91.69 kB / 461.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1123, allocations: 4 kB / 461.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1123, allocations: 0 / 461.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1123, allocations: 0 / 461.6 MB, free: 3.961 MB / 334.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.0006807/0.113, allocations: 415 kB / 462 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1131, allocations: 12.03 kB / 462.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1131, allocations: 8.844 kB / 462.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1133, allocations: 188.2 kB / 462.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1134, allocations: 8.375 kB / 462.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1134, allocations: 12.03 kB / 462.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1137, allocations: 100.5 kB / 462.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1137, allocations: 0 / 462.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1137, allocations: 7.984 kB / 462.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.1137, allocations: 4 kB / 462.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.114, allocations: 71.95 kB / 462.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008311/0.1148, allocations: 465.3 kB / 462.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1151, allocations: 90.66 kB / 463 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1152, allocations: 36.84 kB / 463 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1153, allocations: 0 / 463 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1153, allocations: 38.55 kB / 463.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1153, allocations: 0 / 463.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004545/0.1158, allocations: 133.5 kB / 463.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1158, allocations: 59.34 kB / 463.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.116, allocations: 144.9 kB / 463.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.116, allocations: 25.7 kB / 463.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.116, allocations: 103.9 kB / 463.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1161, allocations: 27.8 kB / 463.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1161, allocations: 29.7 kB / 463.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1162, allocations: 314.8 kB / 463.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1164, allocations: 35.97 kB / 463.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1165, allocations: 63.34 kB / 464 MB, free: 1.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.1167, allocations: 99.39 kB / 464.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1167, allocations: 0 / 464.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002799/0.117, allocations: 129.4 kB / 464.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1171, allocations: 4 kB / 464.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1171, allocations: 4 kB / 464.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1171, allocations: 0 / 464.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1173, allocations: 31.91 kB / 464.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1173, allocations: 4.094 kB / 464.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1174, allocations: 15.89 kB / 464.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1174, allocations: 11.94 kB / 464.3 MB, free: 1.066 MB / 334.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 8.795e-05/0.1175, allocations: 121.7 kB / 464.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1175, allocations: 7.906 kB / 464.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.1179, allocations: 126.3 kB / 464.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1179, allocations: 3.938 kB / 464.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1179, allocations: 8 kB / 464.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1179, allocations: 192 / 464.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1181, allocations: 205.6 kB / 464.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1182, allocations: 3.938 kB / 464.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1183, allocations: 23.92 kB / 464.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1183, allocations: 4 kB / 464.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1183, allocations: 4 kB / 464.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1184, allocations: 3.938 kB / 464.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1184, allocations: 0 / 464.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1188, allocations: 255.8 kB / 465 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1189, allocations: 84.92 kB / 465.1 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1189, allocations: 4.031 kB / 465.1 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.119, allocations: 15.94 kB / 465.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1191, allocations: 7.984 kB / 465.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1191, allocations: 4.062 kB / 465.1 MB, free: 100 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.516e-05/0.1192, allocations: 109.9 kB / 465.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1192, allocations: 0 / 465.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1195, allocations: 23.94 kB / 465.3 MB, free: 15.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.314e-05/0.1196, allocations: 99.19 kB / 465.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1199, allocations: 87.86 kB / 465.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1199, allocations: 4.188 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.12, allocations: 43.97 kB / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1203, allocations: 8 kB / 465.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.1209, allocations: 324.3 kB / 465.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1211, allocations: 0.7002 MB / 466.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.1212, allocations: 8.656 kB / 466.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1213, allocations: 11.44 kB / 466.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1213, allocations: 0 / 466.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Templates: time 0.003422/0.1247, allocations: 1.026 MB / 467.6 MB, free: 13.62 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches