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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001203/0.001203, allocations: 179.6 kB / 8.349 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.729/1.729, allocations: 194.4 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 124.8 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1838/0.1838, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.251e-05, allocations: 4 kB / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3531, allocations: 53.21 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4816, allocations: 81.88 MB / 0.5132 GB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.482, allocations: 87.94 kB / 0.5133 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0049/0.4869, allocations: 1.636 MB / 0.5149 GB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4869, allocations: 0 / 0.5149 GB, free: 13.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.487, allocations: 0 / 0.5149 GB, free: 13.95 MB / 378.7 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.0005451/0.4875, allocations: 410.5 kB / 0.5153 GB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4876, allocations: 8.031 kB / 0.5153 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.4876, allocations: 15.77 kB / 0.5153 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.4878, allocations: 179 kB / 0.5155 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4879, allocations: 4 kB / 0.5155 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4879, allocations: 4 kB / 0.5155 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001455/0.488, allocations: 43.98 kB / 0.5156 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4882, allocations: 70.88 kB / 0.5156 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4882, allocations: 0 / 0.5156 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4882, allocations: 15.95 kB / 0.5156 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4883, allocations: 0 / 0.5156 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.4891, allocations: 421.8 kB / 0.516 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.4893, allocations: 86.58 kB / 0.5161 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.4894, allocations: 24.86 kB / 0.5162 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4894, allocations: 0 / 0.5162 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4894, allocations: 30.56 kB / 0.5162 GB, free: 12.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.4894, allocations: 0 / 0.5162 GB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002293/0.4897, allocations: 77.59 kB / 0.5163 GB, free: 12.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4897, allocations: 51.41 kB / 0.5163 GB, free: 12.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4899, allocations: 118.1 kB / 0.5164 GB, free: 12.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.4899, allocations: 29.7 kB / 0.5164 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.49, allocations: 108.1 kB / 0.5166 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.49, allocations: 27.78 kB / 0.5166 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.49, allocations: 0 / 0.5166 GB, free: 12.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4902, allocations: 322.8 kB / 0.5169 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.4903, allocations: 16 kB / 0.5169 GB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.4903, allocations: 47.44 kB / 0.5169 GB, free: 11.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.4904, allocations: 27.98 kB / 0.517 GB, free: 11.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4904, allocations: 0 / 0.517 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.4906, allocations: 97.67 kB / 0.5171 GB, free: 11.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4906, allocations: 7.953 kB / 0.5171 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4906, allocations: 0 / 0.5171 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4907, allocations: 8.125 kB / 0.5171 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4908, allocations: 36 kB / 0.5171 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4909, allocations: 7.938 kB / 0.5171 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.491, allocations: 11.94 kB / 0.5171 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.491, allocations: 8 kB / 0.5171 GB, free: 11.46 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.4911, allocations: 101 kB / 0.5172 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000137/0.4912, allocations: 77.53 kB / 0.5173 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4913, allocations: 15.84 kB / 0.5173 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.4915, allocations: 94.44 kB / 0.5174 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4915, allocations: 4 kB / 0.5174 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4915, allocations: 0 / 0.5174 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4915, allocations: 0 / 0.5174 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4918, allocations: 182.2 kB / 0.5176 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4918, allocations: 0 / 0.5176 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4919, allocations: 27.98 kB / 0.5176 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4919, allocations: 3.953 kB / 0.5176 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.492, allocations: 0 / 0.5176 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.492, allocations: 4.078 kB / 0.5176 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.492, allocations: 3.984 kB / 0.5176 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4923, allocations: 215.4 kB / 0.5178 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.4924, allocations: 85.05 kB / 0.5179 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.4924, allocations: 3.953 kB / 0.5179 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4926, allocations: 11.98 kB / 0.5179 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.4926, allocations: 8.062 kB / 0.5179 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4926, allocations: 8 kB / 0.518 GB, free: 10.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.378e-05/0.4927, allocations: 97.3 kB / 0.518 GB, free: 10.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4927, allocations: 0 / 0.518 GB, free: 10.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.493, allocations: 23.94 kB / 0.5181 GB, free: 10.43 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006253/0.4936, allocations: 0.7474 MB / 0.5188 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.4938, allocations: 56 kB / 0.5189 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4938, allocations: 0 / 0.5189 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.4939, allocations: 28 kB / 0.5189 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.4941, allocations: 11.94 kB / 0.5189 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.4948, allocations: 250 kB / 0.5191 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4952, allocations: 0.7041 MB / 0.5198 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.4952, allocations: 8 kB / 0.5198 GB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.4953, allocations: 27.36 kB / 0.5198 GB, free: 8.512 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4953, allocations: 4 kB / 0.5199 GB, free: 8.508 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.5174, allocations: 1.643 MB / 0.5215 GB, free: 6.871 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5177, allocations: 136.4 kB / 0.5216 GB, free: 6.668 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.137, allocations: 0 / 0.5216 GB, free: 6.668 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)