Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001388/0.001388, allocations: 114.2 kB / 17.06 MB, free: 6 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.001617/0.001618, allocations: 192 kB / 18 MB, free: 5.082 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1782/0.1782, allocations: 38.04 MB / 329.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3804, allocations: 58.06 MB / 0.5041 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003467/0.3839, allocations: 2.448 MB / 0.5065 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000512/0.3844, allocations: 438.6 kB / 0.5069 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.3845, allocations: 1.25 kB / 0.5069 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.485e-05/0.3846, allocations: 12.06 kB / 0.5069 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3847, allocations: 30.06 kB / 0.5069 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.784e-05/0.3848, allocations: 28.89 kB / 0.507 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.385, allocations: 99.45 kB / 0.5071 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3851, allocations: 16.25 kB / 0.5071 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3852, allocations: 39.39 kB / 0.5071 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.3853, allocations: 54.2 kB / 0.5072 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3854, allocations: 7.375 kB / 0.5072 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.3854, allocations: 8.281 kB / 0.5072 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.3854, allocations: 17.62 kB / 0.5072 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.3855, allocations: 44.91 kB / 0.5072 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3856, allocations: 99.42 kB / 0.5073 GB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3857, allocations: 0.5625 kB / 0.5073 GB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3857, allocations: 0 / 0.5073 GB, free: 5.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3857, allocations: 0 / 0.5073 GB, free: 5.523 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.0005703/0.3862, allocations: 410.5 kB / 0.5077 GB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3863, allocations: 18.48 kB / 0.5077 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.3863, allocations: 9.547 kB / 0.5078 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3865, allocations: 194.1 kB / 0.5079 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3865, allocations: 7.406 kB / 0.5079 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3866, allocations: 16.39 kB / 0.508 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3868, allocations: 93.75 kB / 0.5081 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3868, allocations: 0 / 0.5081 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3869, allocations: 1.125 kB / 0.5081 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3869, allocations: 2.703 kB / 0.5081 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3871, allocations: 72.28 kB / 0.5081 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.3878, allocations: 466.6 kB / 0.5086 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3882, allocations: 92.77 kB / 0.5087 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3883, allocations: 36.98 kB / 0.5087 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3883, allocations: 1.281 kB / 0.5087 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.3883, allocations: 31.88 kB / 0.5087 GB, free: 4.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3883, allocations: 0 / 0.5087 GB, free: 4.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004427/0.3888, allocations: 152.6 kB / 0.5089 GB, free: 4.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.3888, allocations: 57.06 kB / 0.5089 GB, free: 4.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3889, allocations: 142.2 kB / 0.5091 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.389, allocations: 26.95 kB / 0.5091 GB, free: 4.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.389, allocations: 103.4 kB / 0.5092 GB, free: 3.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.389, allocations: 24.48 kB / 0.5092 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3891, allocations: 29.33 kB / 0.5092 GB, free: 3.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.3891, allocations: 320.6 kB / 0.5095 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3892, allocations: 40.69 kB / 0.5096 GB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3894, allocations: 64.38 kB / 0.5096 GB, free: 3.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.3896, allocations: 98.56 kB / 0.5097 GB, free: 3.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3896, allocations: 0 / 0.5097 GB, free: 3.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002976/0.3899, allocations: 131.2 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.39, allocations: 6.234 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.39, allocations: 1 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.39, allocations: 2.312 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3901, allocations: 33.72 kB / 0.5099 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3902, allocations: 2.312 kB / 0.5099 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3903, allocations: 16.39 kB / 0.5099 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3903, allocations: 3.5 kB / 0.5099 GB, free: 3.371 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 5.824e-05/0.3904, allocations: 117.8 kB / 0.51 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3904, allocations: 9.406 kB / 0.51 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.3907, allocations: 125.2 kB / 0.5102 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3907, allocations: 6.188 kB / 0.5102 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3907, allocations: 0 / 0.5102 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3907, allocations: 1.922 kB / 0.5102 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3909, allocations: 204.5 kB / 0.5104 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.391, allocations: 0 / 0.5104 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.3911, allocations: 31.86 kB / 0.5104 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3911, allocations: 1.406 kB / 0.5104 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3911, allocations: 3.938 kB / 0.5104 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3911, allocations: 9.656 kB / 0.5104 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3912, allocations: 480 / 0.5104 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.3916, allocations: 255.1 kB / 0.5107 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.3916, allocations: 88.75 kB / 0.5107 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3916, allocations: 1.312 kB / 0.5107 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3918, allocations: 22.7 kB / 0.5108 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3918, allocations: 5.203 kB / 0.5108 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3918, allocations: 5.438 kB / 0.5108 GB, free: 2.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.3919, allocations: 108.6 kB / 0.5109 GB, free: 2.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3919, allocations: 1.438 kB / 0.5109 GB, free: 2.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3921, allocations: 20.88 kB / 0.5109 GB, free: 2.566 MB / 382.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 8.109e-05/0.3922, allocations: 95.91 kB / 0.511 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3925, allocations: 89.39 kB / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3925, allocations: 1 kB / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3927, allocations: 38.44 kB / 0.5111 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3929, allocations: 13.47 kB / 0.5111 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.3935, allocations: 324.4 kB / 0.5114 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3936, allocations: 0.7001 MB / 0.5121 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.3937, allocations: 10.67 kB / 0.5121 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.3937, allocations: 12.56 kB / 0.5121 GB, free: 1.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3937, allocations: 4 kB / 0.5121 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Templates: time 0.003397/0.3971, allocations: 1.038 MB / 0.5132 GB, free: 1.398 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)