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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000916/0.0009159, allocations: 182.3 kB / 8.133 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9145/0.9145, allocations: 194.2 MB / 202.8 MB, free: 8.828 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.001702/0.001702, allocations: 121.7 kB / 247.8 MB, free: 6.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1467/0.1467, allocations: 37.91 MB / 330.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1496/0.2963, allocations: 59.35 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06052/0.3568, allocations: 53.23 MB / 443.1 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.5472, allocations: 81.86 MB / 0.5127 GB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.5474, allocations: 84.08 kB / 0.5127 GB, free: 10.94 MB / 346.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.00436/0.5517, allocations: 1.736 MB / 0.5144 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.5518, allocations: 7.719 kB / 0.5144 GB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.5518, allocations: 11.59 kB / 0.5145 GB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5519, allocations: 190.7 kB / 0.5146 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.5519, allocations: 3.969 kB / 0.5146 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.552, allocations: 3.812 kB / 0.5146 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.5521, allocations: 38.84 kB / 0.5147 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5522, allocations: 74.19 kB / 0.5148 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5522, allocations: 4 kB / 0.5148 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5522, allocations: 1.266 kB / 0.5148 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5522, allocations: 3.844 kB / 0.5148 GB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.5528, allocations: 426.8 kB / 0.5152 GB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.553, allocations: 79.39 kB / 0.5152 GB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.5531, allocations: 25.44 kB / 0.5153 GB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.5531, allocations: 0 / 0.5153 GB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.097e-06/0.5531, allocations: 37.19 kB / 0.5153 GB, free: 9.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.5531, allocations: 0.5625 kB / 0.5153 GB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001771/0.5533, allocations: 78.86 kB / 0.5154 GB, free: 9.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.345e-05/0.5533, allocations: 51.41 kB / 0.5154 GB, free: 9.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.5534, allocations: 123.4 kB / 0.5156 GB, free: 9.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.5534, allocations: 25.7 kB / 0.5156 GB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.5534, allocations: 98.22 kB / 0.5157 GB, free: 9.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.5535, allocations: 29.77 kB / 0.5157 GB, free: 9.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.5535, allocations: 0 / 0.5157 GB, free: 9.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.5535, allocations: 321 kB / 0.516 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.5536, allocations: 21.41 kB / 0.516 GB, free: 9.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.5536, allocations: 45.3 kB / 0.5161 GB, free: 9.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.5537, allocations: 30.19 kB / 0.5161 GB, free: 9.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5537, allocations: 0 / 0.5161 GB, free: 9.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001345/0.5538, allocations: 98.72 kB / 0.5162 GB, free: 9.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.5538, allocations: 7 kB / 0.5162 GB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5538, allocations: 0.9375 kB / 0.5162 GB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5538, allocations: 3.656 kB / 0.5162 GB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.554, allocations: 39.58 kB / 0.5162 GB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.554, allocations: 8.984 kB / 0.5162 GB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5541, allocations: 18.08 kB / 0.5163 GB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5541, allocations: 3.812 kB / 0.5163 GB, free: 9.086 MB / 346.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 3.939e-05/0.5542, allocations: 105 kB / 0.5164 GB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.5542, allocations: 7.344 kB / 0.5164 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.5544, allocations: 95.89 kB / 0.5165 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5544, allocations: 0 / 0.5165 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5544, allocations: 0 / 0.5165 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5544, allocations: 1.688 kB / 0.5165 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.5546, allocations: 185.4 kB / 0.5166 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5546, allocations: 0 / 0.5166 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5548, allocations: 32.55 kB / 0.5167 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5548, allocations: 0 / 0.5167 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5548, allocations: 0 / 0.5167 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5548, allocations: 3.156 kB / 0.5167 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5548, allocations: 0 / 0.5167 GB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001837/0.555, allocations: 211 kB / 0.5169 GB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002317/0.5552, allocations: 0.6233 MB / 0.5175 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.5552, allocations: 85.83 kB / 0.5176 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.5553, allocations: 0.75 kB / 0.5176 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5554, allocations: 9.609 kB / 0.5176 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.5554, allocations: 2.953 kB / 0.5176 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5555, allocations: 7.906 kB / 0.5176 GB, free: 8.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.209e-05/0.5555, allocations: 100.4 kB / 0.5177 GB, free: 7.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007704/0.5563, allocations: 27.67 kB / 0.5177 GB, free: 7.926 MB / 346.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 7.477e-05/0.5564, allocations: 92.92 kB / 0.5178 GB, free: 7.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.5565, allocations: 57.27 kB / 0.5179 GB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.5565, allocations: 0 / 0.5179 GB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.5565, allocations: 34.3 kB / 0.5179 GB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.5567, allocations: 9.734 kB / 0.5179 GB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.5571, allocations: 217.6 kB / 0.5181 GB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5573, allocations: 0.7256 MB / 0.5188 GB, free: 6.969 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5573, allocations: 0 / 0.5188 GB, free: 6.969 MB / 346.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)