Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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_latest_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 184 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 87.14 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1782/0.1782, allocations: 37.96 MB / 347.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2284/0.4066, allocations: 62.44 MB / 410.1 MB, free: 46.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.5217, allocations: 56.33 MB / 466.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.8529, allocations: 86.92 MB / 0.5404 GB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.8532, allocations: 79.95 kB / 0.5405 GB, free: 7.52 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.005436/0.8587, allocations: 1.829 MB / 0.5422 GB, free: 5.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8587, allocations: 12 kB / 0.5422 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.8588, allocations: 7.906 kB / 0.5423 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.859, allocations: 197.4 kB / 0.5424 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.859, allocations: 0.9844 kB / 0.5424 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.859, allocations: 8 kB / 0.5425 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/0.8592, allocations: 43.94 kB / 0.5425 GB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.8593, allocations: 65.67 kB / 0.5426 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.8593, allocations: 3.984 kB / 0.5426 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8593, allocations: 3.906 kB / 0.5426 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8593, allocations: 0 / 0.5426 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.8602, allocations: 433.8 kB / 0.543 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.8604, allocations: 70.62 kB / 0.543 GB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.8605, allocations: 26.61 kB / 0.5431 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.8605, allocations: 4 kB / 0.5431 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8605, allocations: 38.09 kB / 0.5431 GB, free: 4.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.8606, allocations: 0 / 0.5431 GB, free: 4.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002086/0.8608, allocations: 78.22 kB / 0.5432 GB, free: 4.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.8608, allocations: 51.41 kB / 0.5432 GB, free: 4.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.8609, allocations: 119.3 kB / 0.5434 GB, free: 4.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.8609, allocations: 33.64 kB / 0.5434 GB, free: 4.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.861, allocations: 96.3 kB / 0.5435 GB, free: 4.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.861, allocations: 23.66 kB / 0.5435 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.861, allocations: 3.938 kB / 0.5435 GB, free: 4.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.8612, allocations: 326.7 kB / 0.5438 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.8612, allocations: 24 kB / 0.5438 GB, free: 3.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.8613, allocations: 51.41 kB / 0.5439 GB, free: 3.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.8614, allocations: 24.06 kB / 0.5439 GB, free: 3.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8614, allocations: 0 / 0.5439 GB, free: 3.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.8616, allocations: 97.69 kB / 0.544 GB, free: 3.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.8616, allocations: 12.02 kB / 0.544 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8616, allocations: 0 / 0.544 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.8616, allocations: 4 kB / 0.544 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.8618, allocations: 31.92 kB / 0.544 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8618, allocations: 0 / 0.544 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8619, allocations: 19.89 kB / 0.5441 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.862, allocations: 11.62 kB / 0.5441 GB, free: 3.598 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 8.064e-05/0.862, allocations: 105 kB / 0.5442 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.8621, allocations: 7.906 kB / 0.5442 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.8623, allocations: 98.08 kB / 0.5443 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8623, allocations: 0 / 0.5443 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8623, allocations: 3.906 kB / 0.5443 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8623, allocations: 0 / 0.5443 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.8626, allocations: 182.2 kB / 0.5445 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8626, allocations: 0 / 0.5445 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.8628, allocations: 27.97 kB / 0.5445 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8628, allocations: 4 kB / 0.5445 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.8628, allocations: 0 / 0.5445 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8628, allocations: 3.906 kB / 0.5445 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8628, allocations: 0 / 0.5445 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003026/0.8631, allocations: 215.4 kB / 0.5447 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004364/0.8636, allocations: 0.613 MB / 0.5453 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.8636, allocations: 84.95 kB / 0.5454 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.8636, allocations: 0 / 0.5454 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.8638, allocations: 16.11 kB / 0.5454 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.8638, allocations: 4 kB / 0.5454 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.8639, allocations: 4.188 kB / 0.5454 GB, free: 2.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.376e-05/0.8639, allocations: 103.7 kB / 0.5455 GB, free: 2.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008796/0.8648, allocations: 23.94 kB / 0.5455 GB, free: 2.016 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.0001446/0.865, allocations: 107.2 kB / 0.5456 GB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.8652, allocations: 60.33 kB / 0.5457 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8652, allocations: 0 / 0.5457 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.8652, allocations: 31.94 kB / 0.5457 GB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.8654, allocations: 4 kB / 0.5457 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.866, allocations: 208.6 kB / 0.5459 GB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.8665, allocations: 0.7231 MB / 0.5466 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8665, allocations: 0 / 0.5466 GB, free: 0.8281 MB / 378.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest_res.mat does not exist to compare? outputFormat=mat