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.00116/0.00116, allocations: 111.4 kB / 17.69 MB, free: 5.387 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.00121/0.00121, allocations: 184.1 kB / 18.63 MB, free: 4.461 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.307/1.307, 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.1694/0.1694, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.02 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 58.06 MB / 458.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004019/0.1208, allocations: 2.45 MB / 460.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.1214, allocations: 446.9 kB / 461.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.1215, allocations: 0 / 461.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1216, allocations: 11.86 kB / 461.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1218, allocations: 23.73 kB / 461.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.1219, allocations: 27.95 kB / 461.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1221, allocations: 103.6 kB / 461.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1222, allocations: 16 kB / 461.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1223, allocations: 47.84 kB / 461.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.1224, allocations: 43.77 kB / 461.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1224, allocations: 11.94 kB / 461.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.1225, allocations: 8 kB / 461.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1225, allocations: 31.84 kB / 461.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1226, allocations: 39.8 kB / 461.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1227, allocations: 91.61 kB / 461.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1227, allocations: 4 kB / 461.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1227, allocations: 0 / 461.7 MB, free: 4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1227, allocations: 4 kB / 461.7 MB, free: 3.996 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.0006938/0.1234, allocations: 409.7 kB / 462.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1235, allocations: 11.89 kB / 462.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1235, allocations: 8.844 kB / 462.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1238, allocations: 192.2 kB / 462.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1238, allocations: 8.375 kB / 462.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.1238, allocations: 16.03 kB / 462.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1241, allocations: 97.52 kB / 462.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1241, allocations: 0 / 462.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1241, allocations: 0 / 462.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1242, allocations: 0 / 462.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.1244, allocations: 75.94 kB / 462.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.1253, allocations: 461.3 kB / 462.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1256, allocations: 86.67 kB / 463 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1258, allocations: 44.83 kB / 463 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1258, allocations: 4 kB / 463 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.1259, allocations: 30.56 kB / 463.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1259, allocations: 0 / 463.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.1263, allocations: 137.6 kB / 463.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1264, allocations: 55.34 kB / 463.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1265, allocations: 137.8 kB / 463.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1265, allocations: 29.7 kB / 463.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.1266, allocations: 111.9 kB / 463.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1266, allocations: 27.64 kB / 463.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.1267, allocations: 17.72 kB / 463.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1268, allocations: 326.8 kB / 463.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1269, allocations: 27.98 kB / 463.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1271, allocations: 67.41 kB / 464 MB, free: 1.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1273, allocations: 99.33 kB / 464.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1273, allocations: 192 / 464.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002962/0.1276, allocations: 133.4 kB / 464.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1277, allocations: 11.94 kB / 464.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1277, allocations: 0 / 464.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1277, allocations: 4 kB / 464.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1278, allocations: 31.92 kB / 464.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1279, allocations: 0 / 464.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.128, allocations: 19.98 kB / 464.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.128, allocations: 0 / 464.3 MB, free: 1.109 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 9.858e-05/0.1281, allocations: 125.7 kB / 464.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1281, allocations: 11.91 kB / 464.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.1284, allocations: 126.3 kB / 464.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1285, allocations: 3.938 kB / 464.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1285, allocations: 0 / 464.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1285, allocations: 4 kB / 464.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1287, allocations: 205.6 kB / 464.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1288, allocations: 0 / 464.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.129, allocations: 31.91 kB / 464.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.129, allocations: 0 / 464.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.129, allocations: 0 / 464.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.129, allocations: 3.938 kB / 464.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.129, allocations: 4 kB / 464.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.1295, allocations: 255.8 kB / 465 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1296, allocations: 92.95 kB / 465.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1296, allocations: 0 / 465.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1297, allocations: 11.92 kB / 465.1 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1298, allocations: 7.984 kB / 465.1 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1298, allocations: 0 / 465.1 MB, free: 144 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.1299, allocations: 109.8 kB / 465.3 MB, free: 36 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1299, allocations: 8.062 kB / 465.3 MB, free: 28 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1302, allocations: 16 kB / 465.3 MB, free: 12 kB / 334.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 0.0001238/0.1303, allocations: 95.19 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1306, allocations: 91.81 kB / 465.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1306, allocations: 0 / 465.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1307, allocations: 36.17 kB / 465.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.131, allocations: 23.16 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.1317, allocations: 328.3 kB / 465.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.1322, allocations: 0.7001 MB / 466.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.608e-05/0.1322, allocations: 8.672 kB / 466.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1323, allocations: 15.44 kB / 466.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1323, allocations: 0 / 466.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003635/0.1359, allocations: 1.021 MB / 467.6 MB, free: 13.65 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 cvode -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