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.001582/0.001582, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001517/0.001517, allocations: 183 kB / 18.68 MB, free: 4.41 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.345/1.345, allocations: 222.9 MB / 242.4 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.1772/0.1772, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3196, allocations: 58.05 MB / 0.5048 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003617/0.3233, allocations: 2.455 MB / 0.5072 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.3239, allocations: 441 kB / 0.5076 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.324, allocations: 1.094 kB / 0.5076 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3241, allocations: 11.58 kB / 0.5076 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.3243, allocations: 22.17 kB / 0.5076 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.3245, allocations: 25.11 kB / 0.5076 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3246, allocations: 100.3 kB / 0.5077 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3248, allocations: 24.78 kB / 0.5078 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3249, allocations: 46.8 kB / 0.5078 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.325, allocations: 51.23 kB / 0.5078 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.325, allocations: 6.594 kB / 0.5078 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.188e-05/0.3251, allocations: 7.656 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.3251, allocations: 19.69 kB / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.3251, allocations: 39.44 kB / 0.5079 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.3253, allocations: 95.8 kB / 0.508 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3253, allocations: 5.781 kB / 0.508 GB, free: 5.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3253, allocations: 0 / 0.508 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3253, allocations: 0 / 0.508 GB, free: 5.77 MB / 382.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.0005958/0.3259, allocations: 412.9 kB / 0.5084 GB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.326, allocations: 12.05 kB / 0.5084 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.326, allocations: 11.28 kB / 0.5084 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3262, allocations: 202.3 kB / 0.5086 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3262, allocations: 2.562 kB / 0.5086 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.3263, allocations: 12.69 kB / 0.5086 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3265, allocations: 87.45 kB / 0.5087 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3266, allocations: 0 / 0.5087 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3266, allocations: 4.609 kB / 0.5087 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3266, allocations: 2.156 kB / 0.5087 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.3268, allocations: 77.2 kB / 0.5088 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.3276, allocations: 465.3 kB / 0.5092 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3279, allocations: 94.48 kB / 0.5093 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.328, allocations: 41.27 kB / 0.5094 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3281, allocations: 5.359 kB / 0.5094 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.3281, allocations: 32.31 kB / 0.5094 GB, free: 4.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.3281, allocations: 0 / 0.5094 GB, free: 4.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.3285, allocations: 139.3 kB / 0.5095 GB, free: 4.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.3286, allocations: 61.09 kB / 0.5096 GB, free: 4.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.3287, allocations: 150.7 kB / 0.5097 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.3287, allocations: 25.7 kB / 0.5098 GB, free: 4.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3287, allocations: 104.9 kB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3288, allocations: 19.75 kB / 0.5099 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3288, allocations: 22.05 kB / 0.5099 GB, free: 4.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.3289, allocations: 320.5 kB / 0.5102 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.329, allocations: 39.97 kB / 0.5102 GB, free: 3.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3291, allocations: 56.98 kB / 0.5103 GB, free: 3.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3293, allocations: 101.5 kB / 0.5104 GB, free: 3.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3293, allocations: 1.531 kB / 0.5104 GB, free: 3.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.3296, allocations: 133.5 kB / 0.5105 GB, free: 3.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3297, allocations: 5.875 kB / 0.5105 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3297, allocations: 1.875 kB / 0.5105 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3297, allocations: 1.531 kB / 0.5105 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3299, allocations: 30.8 kB / 0.5106 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3299, allocations: 9.406 kB / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.33, allocations: 16.22 kB / 0.5106 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.33, allocations: 3.734 kB / 0.5106 GB, free: 3.613 MB / 382.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 6.178e-05/0.3301, allocations: 118.9 kB / 0.5107 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3301, allocations: 8.344 kB / 0.5107 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3304, allocations: 126 kB / 0.5108 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3304, allocations: 4.656 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3304, allocations: 3.938 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.3305, allocations: 85.38 kB / 0.5109 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3305, allocations: 1.797 kB / 0.5109 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3306, allocations: 5.781 kB / 0.5109 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3307, allocations: 9.688 kB / 0.5109 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004062/0.3311, allocations: 202.4 kB / 0.5111 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004183/0.3315, allocations: 344.9 kB / 0.5115 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001172/0.3317, allocations: 44.81 kB / 0.5115 GB, free: 2.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.3317, allocations: 108 kB / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3317, allocations: 0 / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.3322, allocations: 140.2 kB / 0.5117 GB, free: 2.727 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005583/0.3327, allocations: 0.7321 MB / 0.5125 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004003/0.3367, allocations: 1.272 MB / 0.5137 GB, free: 1.934 MB / 382.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/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