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: 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") [: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.001399/0.0014, allocations: 190.7 kB / 8.136 MB, free: 2.195 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.236/1.236, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001716/0.001717, allocations: 114.6 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1555/0.1555, allocations: 37.92 MB / 330.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.2e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07547, allocations: 53.23 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/0.3316, allocations: 81.85 MB / 0.5126 GB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3319, allocations: 81.42 kB / 0.5127 GB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004592/0.3365, allocations: 1.333 MB / 0.514 GB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3365, allocations: 3.844 kB / 0.514 GB, free: 10.88 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.000459/0.337, allocations: 397.3 kB / 0.5143 GB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.337, allocations: 11.16 kB / 0.5143 GB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.3371, allocations: 11.66 kB / 0.5144 GB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3372, allocations: 193.4 kB / 0.5145 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3372, allocations: 7.719 kB / 0.5146 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3373, allocations: 3.812 kB / 0.5146 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.3374, allocations: 39.88 kB / 0.5146 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3375, allocations: 68.23 kB / 0.5147 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3376, allocations: 0 / 0.5147 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3376, allocations: 0 / 0.5147 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3376, allocations: 0.5469 kB / 0.5147 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.3383, allocations: 442.2 kB / 0.5151 GB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.3386, allocations: 71.7 kB / 0.5152 GB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.3386, allocations: 23.14 kB / 0.5152 GB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3387, allocations: 0 / 0.5152 GB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.3387, allocations: 40.2 kB / 0.5152 GB, free: 9.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3387, allocations: 7.938 kB / 0.5152 GB, free: 9.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.3389, allocations: 74.89 kB / 0.5153 GB, free: 9.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.3389, allocations: 52.16 kB / 0.5153 GB, free: 9.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.339, allocations: 119.6 kB / 0.5155 GB, free: 9.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3391, allocations: 25.7 kB / 0.5155 GB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.3391, allocations: 97.91 kB / 0.5156 GB, free: 9.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.3391, allocations: 25.45 kB / 0.5156 GB, free: 9.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3391, allocations: 0 / 0.5156 GB, free: 9.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.3392, allocations: 326.9 kB / 0.5159 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.3392, allocations: 17.12 kB / 0.5159 GB, free: 9.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.3393, allocations: 50.7 kB / 0.516 GB, free: 9.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.3394, allocations: 31.91 kB / 0.516 GB, free: 9.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3394, allocations: 0 / 0.516 GB, free: 9.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.3395, allocations: 98.62 kB / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3395, allocations: 7.844 kB / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3396, allocations: 0 / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3396, allocations: 0 / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3398, allocations: 32.41 kB / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3398, allocations: 0 / 0.5161 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3399, allocations: 22.39 kB / 0.5162 GB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3399, allocations: 7.781 kB / 0.5162 GB, free: 9.125 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 5.18e-05/0.34, allocations: 108.8 kB / 0.5163 GB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.34, allocations: 9.312 kB / 0.5163 GB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3402, allocations: 87.56 kB / 0.5164 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3402, allocations: 3.875 kB / 0.5164 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3402, allocations: 0 / 0.5164 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3402, allocations: 9.578 kB / 0.5164 GB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3404, allocations: 186.9 kB / 0.5166 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3405, allocations: 3.844 kB / 0.5166 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3407, allocations: 24.27 kB / 0.5166 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3407, allocations: 1.969 kB / 0.5166 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3407, allocations: 3.875 kB / 0.5166 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3407, allocations: 3.938 kB / 0.5166 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3407, allocations: 0 / 0.5166 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000216/0.3409, allocations: 214 kB / 0.5168 GB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.341, allocations: 81.02 kB / 0.5169 GB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.341, allocations: 3.781 kB / 0.5169 GB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3411, allocations: 10.22 kB / 0.5169 GB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.3412, allocations: 10.48 kB / 0.5169 GB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3412, allocations: 7.781 kB / 0.5169 GB, free: 8.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.971e-05/0.3412, allocations: 99.45 kB / 0.517 GB, free: 8.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.3415, allocations: 22.44 kB / 0.517 GB, free: 8.473 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 0.00011/0.3416, allocations: 103.7 kB / 0.5171 GB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3417, allocations: 60.91 kB / 0.5172 GB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3418, allocations: 0 / 0.5172 GB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.3418, allocations: 26.56 kB / 0.5172 GB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.342, allocations: 17.16 kB / 0.5172 GB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.3425, allocations: 209 kB / 0.5174 GB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3427, allocations: 0.7165 MB / 0.5181 GB, free: 7.516 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3427, allocations: 0 / 0.5181 GB, free: 7.516 MB / 346.7 MB Notification: Performance of Templates: time 0.003077/0.3458, allocations: 1.015 MB / 0.5191 GB, free: 7.441 MB / 346.7 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)