Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 90.36 kB / 261.8 MB, free: 1.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.269/0.269, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.471e-05, allocations: 0 / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1325, allocations: 56.34 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6295, allocations: 86.95 MB / 0.5403 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6299, allocations: 81.56 kB / 0.5403 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007462/0.6373, allocations: 1.731 MB / 0.542 GB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6374, allocations: 3.719 kB / 0.542 GB, free: 10.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.6374, allocations: 4 kB / 0.542 GB, free: 10.62 MB / 362.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.0006128/0.6381, allocations: 395 kB / 0.5424 GB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6381, allocations: 11.22 kB / 0.5424 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.6382, allocations: 10.81 kB / 0.5424 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.6384, allocations: 187 kB / 0.5426 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.6384, allocations: 3.781 kB / 0.5426 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.6384, allocations: 7.594 kB / 0.5426 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001802/0.6386, allocations: 41.88 kB / 0.5427 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.6388, allocations: 69.48 kB / 0.5427 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6389, allocations: 0 / 0.5427 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6389, allocations: 1.969 kB / 0.5427 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.6389, allocations: 8.484 kB / 0.5427 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.6399, allocations: 428.9 kB / 0.5431 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.6402, allocations: 74.2 kB / 0.5432 GB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.6403, allocations: 27.36 kB / 0.5432 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.6403, allocations: 0 / 0.5432 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6404, allocations: 42.28 kB / 0.5433 GB, free: 9.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.6404, allocations: 0 / 0.5433 GB, free: 9.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002722/0.6407, allocations: 78.92 kB / 0.5434 GB, free: 9.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.6407, allocations: 59.28 kB / 0.5434 GB, free: 9.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6408, allocations: 117.3 kB / 0.5435 GB, free: 9.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6409, allocations: 25.7 kB / 0.5435 GB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.6409, allocations: 173.2 kB / 0.5437 GB, free: 9.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.641, allocations: 26.38 kB / 0.5437 GB, free: 9.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.641, allocations: 0 / 0.5437 GB, free: 9.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.6411, allocations: 322.5 kB / 0.544 GB, free: 8.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.6411, allocations: 18.78 kB / 0.5441 GB, free: 8.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.6412, allocations: 47.98 kB / 0.5441 GB, free: 8.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.6413, allocations: 22.84 kB / 0.5441 GB, free: 8.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6413, allocations: 0 / 0.5441 GB, free: 8.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002231/0.6416, allocations: 97.25 kB / 0.5442 GB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6416, allocations: 3.844 kB / 0.5442 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6416, allocations: 3.844 kB / 0.5442 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6416, allocations: 0 / 0.5442 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.6419, allocations: 38.03 kB / 0.5443 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.642, allocations: 4.109 kB / 0.5443 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.6422, allocations: 19.03 kB / 0.5443 GB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6422, allocations: 0 / 0.5443 GB, free: 8.797 MB / 362.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 6.871e-05/0.6423, allocations: 104.7 kB / 0.5444 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001929/0.6425, allocations: 83.28 kB / 0.5445 GB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.6425, allocations: 7.75 kB / 0.5445 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.6428, allocations: 98.45 kB / 0.5446 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6428, allocations: 0 / 0.5446 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6429, allocations: 3.656 kB / 0.5446 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6429, allocations: 0 / 0.5446 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.6432, allocations: 189.8 kB / 0.5448 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6432, allocations: 1.5 kB / 0.5448 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.6435, allocations: 22.61 kB / 0.5448 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.6435, allocations: 3.844 kB / 0.5448 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6436, allocations: 0 / 0.5448 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6436, allocations: 3.938 kB / 0.5448 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6436, allocations: 3.953 kB / 0.5448 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.6439, allocations: 215 kB / 0.545 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.644, allocations: 84.95 kB / 0.5451 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.644, allocations: 3.812 kB / 0.5451 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.6442, allocations: 7.141 kB / 0.5451 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.6443, allocations: 11.05 kB / 0.5451 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6443, allocations: 8.703 kB / 0.5451 GB, free: 8.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.6444, allocations: 95.94 kB / 0.5452 GB, free: 8.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6444, allocations: 0 / 0.5452 GB, free: 8.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.6448, allocations: 26.16 kB / 0.5452 GB, free: 8.105 MB / 362.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.0005546/0.6453, allocations: 0.7457 MB / 0.546 GB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.6456, allocations: 50.28 kB / 0.546 GB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6456, allocations: 0 / 0.546 GB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.6457, allocations: 30.88 kB / 0.546 GB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.646, allocations: 14.47 kB / 0.546 GB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.647, allocations: 266.4 kB / 0.5463 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6472, allocations: 0.7085 MB / 0.547 GB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.6473, allocations: 25.83 kB / 0.547 GB, free: 6.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6473, allocations: 0 / 0.547 GB, free: 6.512 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.519/3.166, allocations: 1.671 MB / 0.5486 GB, free: 6.168 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)