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.00159/0.00159, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.00185/0.00185, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.389/1.389, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.03 MB / 329.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 65.83 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 58.06 MB / 456.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00384/0.132, allocations: 2.495 MB / 458.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.1326, allocations: 427 kB / 459.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.1327, allocations: 7.938 kB / 459.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1328, allocations: 3.938 kB / 459.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.133, allocations: 23.84 kB / 459.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.1331, allocations: 27.95 kB / 459.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1333, allocations: 95.59 kB / 459.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1334, allocations: 19.98 kB / 459.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1335, allocations: 43.8 kB / 459.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.1336, allocations: 43.81 kB / 459.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1336, allocations: 12 kB / 459.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.1336, allocations: 8 kB / 459.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.1337, allocations: 19.92 kB / 459.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1337, allocations: 47.73 kB / 459.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1339, allocations: 87.95 kB / 459.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1339, allocations: 4 kB / 459.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1339, allocations: 0 / 459.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1339, allocations: 3.938 kB / 459.7 MB, free: 5.078 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.0006282/0.1345, allocations: 419 kB / 460.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1346, allocations: 11.89 kB / 460.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1346, allocations: 8.844 kB / 460.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1348, allocations: 192.2 kB / 460.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1348, allocations: 4.375 kB / 460.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.1349, allocations: 16.03 kB / 460.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1351, allocations: 93.58 kB / 460.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1351, allocations: 4 kB / 460.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1352, allocations: 0 / 460.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1352, allocations: 0 / 460.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.1354, allocations: 79.92 kB / 460.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.1362, allocations: 461.3 kB / 461 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1366, allocations: 90.66 kB / 461 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1367, allocations: 40.84 kB / 461.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1367, allocations: 3.938 kB / 461.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1367, allocations: 34.56 kB / 461.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1367, allocations: 0 / 461.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004271/0.1372, allocations: 137.7 kB / 461.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1372, allocations: 55.34 kB / 461.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1373, allocations: 140.8 kB / 461.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1374, allocations: 25.7 kB / 461.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1374, allocations: 107.9 kB / 461.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1375, allocations: 31.64 kB / 461.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1375, allocations: 17.72 kB / 461.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1376, allocations: 322.8 kB / 461.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1378, allocations: 35.91 kB / 462 MB, free: 2.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1379, allocations: 63.41 kB / 462 MB, free: 2.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1382, allocations: 99.34 kB / 462.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1382, allocations: 0 / 462.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003022/0.1385, allocations: 125.9 kB / 462.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1385, allocations: 10.03 kB / 462.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1386, allocations: 0 / 462.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1386, allocations: 4 kB / 462.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1387, allocations: 39.84 kB / 462.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1388, allocations: 4.062 kB / 462.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1389, allocations: 12.09 kB / 462.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1389, allocations: 3.938 kB / 462.3 MB, free: 2.184 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.343e-05/0.139, allocations: 125.8 kB / 462.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.139, allocations: 15.89 kB / 462.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.1394, allocations: 126.3 kB / 462.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1394, allocations: 7.938 kB / 462.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1394, allocations: 0 / 462.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1394, allocations: 0 / 462.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1397, allocations: 209.6 kB / 462.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1397, allocations: 0 / 462.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1399, allocations: 27.98 kB / 462.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1399, allocations: 0 / 462.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1399, allocations: 0 / 462.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1399, allocations: 3.938 kB / 462.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.1399, allocations: 4 kB / 462.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.1403, allocations: 255.3 kB / 463.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1404, allocations: 88.95 kB / 463.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1404, allocations: 7.984 kB / 463.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1406, allocations: 7.938 kB / 463.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1406, allocations: 7.984 kB / 463.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1406, allocations: 0 / 463.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.1407, allocations: 107.3 kB / 463.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-07/0.1407, allocations: 0 / 463.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.141, allocations: 20 kB / 463.3 MB, free: 1.086 MB / 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.0001059/0.1411, allocations: 99.3 kB / 463.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.1414, allocations: 87.89 kB / 463.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1415, allocations: 0 / 463.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1416, allocations: 43.91 kB / 463.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1419, allocations: 8.188 kB / 463.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.1426, allocations: 364 kB / 463.9 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.143, allocations: 0.6963 MB / 464.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.143, allocations: 8.656 kB / 464.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1431, allocations: 11.44 kB / 464.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1431, allocations: 0 / 464.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.00362/0.1467, allocations: 0.9826 MB / 465.6 MB, free: 14.75 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 -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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Wind.Test.RotorTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches