Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002015/0.002015, allocations: 194.5 kB / 7.806 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 94.44 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4539/0.4539, allocations: 37.97 MB / 347.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.013e-05, allocations: 0 / 409.3 MB, free: 47.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 56.32 MB / 465.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4522, allocations: 86.93 MB / 0.5396 GB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4526, allocations: 87.94 kB / 0.5397 GB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.00796/0.4605, allocations: 1.422 MB / 0.5411 GB, free: 6.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4606, allocations: 4 kB / 0.5411 GB, free: 6.344 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.0007653/0.4614, allocations: 403.7 kB / 0.5415 GB, free: 5.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4614, allocations: 12.03 kB / 0.5415 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.4615, allocations: 11.91 kB / 0.5415 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4618, allocations: 186.8 kB / 0.5417 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4618, allocations: 0 / 0.5417 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.4619, allocations: 4 kB / 0.5417 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002086/0.4621, allocations: 44.86 kB / 0.5417 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4623, allocations: 71.08 kB / 0.5418 GB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4623, allocations: 0 / 0.5418 GB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.4624, allocations: 3.906 kB / 0.5418 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4624, allocations: 3.938 kB / 0.5418 GB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4635, allocations: 427.5 kB / 0.5422 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.4639, allocations: 74.69 kB / 0.5423 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.464, allocations: 28.8 kB / 0.5423 GB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.464, allocations: 4 kB / 0.5423 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4641, allocations: 39.67 kB / 0.5423 GB, free: 4.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.4641, allocations: 0 / 0.5423 GB, free: 4.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000316/0.4644, allocations: 81.72 kB / 0.5424 GB, free: 4.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.4645, allocations: 51.41 kB / 0.5425 GB, free: 4.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4646, allocations: 123.9 kB / 0.5426 GB, free: 4.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4646, allocations: 25.7 kB / 0.5426 GB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4647, allocations: 166.7 kB / 0.5428 GB, free: 4.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.4648, allocations: 27.64 kB / 0.5428 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.4648, allocations: 0 / 0.5428 GB, free: 4.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4649, allocations: 314.8 kB / 0.5431 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.465, allocations: 23.94 kB / 0.5431 GB, free: 4.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4652, allocations: 51.31 kB / 0.5432 GB, free: 4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.4653, allocations: 27.98 kB / 0.5432 GB, free: 3.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4653, allocations: 0 / 0.5432 GB, free: 3.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00029/0.4656, allocations: 89.62 kB / 0.5433 GB, free: 3.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4656, allocations: 4 kB / 0.5433 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4656, allocations: 0 / 0.5433 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.4657, allocations: 7.984 kB / 0.5433 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.466, allocations: 36.08 kB / 0.5433 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.466, allocations: 7.844 kB / 0.5433 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.4662, allocations: 11.98 kB / 0.5433 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4662, allocations: 4 kB / 0.5433 GB, free: 3.809 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 6.657e-05/0.4663, allocations: 29.66 kB / 0.5434 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.4664, allocations: 7.906 kB / 0.5434 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.4667, allocations: 98.08 kB / 0.5435 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4667, allocations: 4.672 kB / 0.5435 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4667, allocations: 0 / 0.5435 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4667, allocations: 0 / 0.5435 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4671, allocations: 186.1 kB / 0.5437 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4671, allocations: 0 / 0.5437 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4675, allocations: 31.92 kB / 0.5437 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4675, allocations: 0 / 0.5437 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.4675, allocations: 7.984 kB / 0.5437 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4675, allocations: 4 kB / 0.5437 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4675, allocations: 0 / 0.5437 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003939/0.468, allocations: 205.8 kB / 0.5439 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.468, allocations: 92.86 kB / 0.544 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4681, allocations: 0 / 0.544 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4683, allocations: 16.05 kB / 0.544 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.4684, allocations: 7.984 kB / 0.544 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4684, allocations: 4 kB / 0.544 GB, free: 3.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.533e-05/0.4685, allocations: 96.53 kB / 0.5441 GB, free: 2.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.4688, allocations: 16 kB / 0.5441 GB, free: 2.938 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.000155/0.469, allocations: 107.2 kB / 0.5442 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.4692, allocations: 60.12 kB / 0.5443 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4692, allocations: 4.25 kB / 0.5443 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.948e-05/0.4693, allocations: 24 kB / 0.5443 GB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4697, allocations: 19.78 kB / 0.5443 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/0.4705, allocations: 230.3 kB / 0.5445 GB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.4709, allocations: 0.7153 MB / 0.5452 GB, free: 1.719 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4709, allocations: 3.938 kB / 0.5452 GB, free: 1.715 MB / 378.7 MB Notification: Performance of Templates: time 0.003787/0.4747, allocations: 1.255 MB / 0.5465 GB, free: 480 kB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)