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.001159/0.001159, allocations: 174.5 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 222.2 MB, free: 9.02 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.0007326/0.0007327, allocations: 84.53 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1635/0.1635, allocations: 38.08 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 56.33 MB / 479.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002187/0.2398, allocations: 2.118 MB / 481.9 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004461/0.2403, allocations: 447.2 kB / 482.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.2403, allocations: 5.281 kB / 482.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.083e-05/0.2404, allocations: 6.609 kB / 482.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2405, allocations: 30.81 kB / 482.3 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.681e-05/0.2406, allocations: 17.88 kB / 482.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2407, allocations: 88.72 kB / 482.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.2408, allocations: 14.94 kB / 482.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.2409, allocations: 37.89 kB / 482.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.241, allocations: 45.86 kB / 482.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.2411, allocations: 3.938 kB / 482.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.2411, allocations: 3.688 kB / 482.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2411, allocations: 16.59 kB / 482.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2411, allocations: 62.64 kB / 482.6 MB, free: 7.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.2412, allocations: 62 kB / 482.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2413, allocations: 2.156 kB / 482.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2413, allocations: 0 / 482.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.2413, allocations: 0 / 482.7 MB, free: 7.461 MB / 314.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.0004822/0.2418, allocations: 416 kB / 483.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2418, allocations: 9.062 kB / 483.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.2418, allocations: 37.16 kB / 483.1 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.2419, allocations: 9.562 kB / 483.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.242, allocations: 196.2 kB / 483.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.242, allocations: 7.562 kB / 483.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.242, allocations: 8.438 kB / 483.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.2423, allocations: 95.08 kB / 483.4 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2423, allocations: 5.062 kB / 483.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2423, allocations: 4 kB / 483.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2423, allocations: 2.219 kB / 483.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.2426, allocations: 82.86 kB / 483.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.2432, allocations: 465.9 kB / 484 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.2435, allocations: 94.25 kB / 484.1 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2436, allocations: 41.12 kB / 484.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2437, allocations: 5.031 kB / 484.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.2437, allocations: 36.86 kB / 484.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2437, allocations: 0 / 484.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004145/0.2441, allocations: 162 kB / 484.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.2441, allocations: 52.47 kB / 484.4 MB, free: 6.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.2442, allocations: 145.3 kB / 484.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2442, allocations: 25.7 kB / 484.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.2443, allocations: 107.3 kB / 484.6 MB, free: 5.824 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.2443, allocations: 25.61 kB / 484.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.2443, allocations: 1.406 kB / 484.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.2444, allocations: 323.9 kB / 485 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2445, allocations: 41.08 kB / 485 MB, free: 5.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2446, allocations: 64.42 kB / 485.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.2448, allocations: 111.5 kB / 485.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2448, allocations: 5.062 kB / 485.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000291/0.2451, allocations: 135.3 kB / 485.3 MB, free: 5.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2452, allocations: 7.438 kB / 485.3 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2452, allocations: 1.781 kB / 485.3 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2452, allocations: 10.41 kB / 485.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2453, allocations: 28.44 kB / 485.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2453, allocations: 5.094 kB / 485.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.2455, allocations: 14.78 kB / 485.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2455, allocations: 7.734 kB / 485.4 MB, free: 5.281 MB / 314.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 () * Number of clocked 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.571e-05/0.2455, allocations: 118.8 kB / 485.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2456, allocations: 16.08 kB / 485.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.2459, allocations: 136.6 kB / 485.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2459, allocations: 5.031 kB / 485.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2459, allocations: 3.938 kB / 485.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2459, allocations: 6.109 kB / 485.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2461, allocations: 208.3 kB / 485.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2461, allocations: 0 / 485.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2463, allocations: 29.78 kB / 485.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2463, allocations: 0 / 485.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2463, allocations: 4 kB / 485.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2463, allocations: 8.969 kB / 485.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2463, allocations: 0 / 485.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.2467, allocations: 268.1 kB / 486.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2467, allocations: 84.33 kB / 486.3 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2467, allocations: 2.031 kB / 486.3 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2469, allocations: 25.08 kB / 486.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.2469, allocations: 9.062 kB / 486.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2469, allocations: 2.25 kB / 486.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.733e-05/0.247, allocations: 109.1 kB / 486.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.247, allocations: 0 / 486.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.2472, allocations: 23.72 kB / 486.4 MB, free: 4.465 MB / 314.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 () * Number of clocked 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.0005125/0.2477, allocations: 0.7921 MB / 487.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.248, allocations: 99.44 kB / 487.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.248, allocations: 0 / 487.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2481, allocations: 52.59 kB / 487.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2484, allocations: 13.95 kB / 487.4 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2496, allocations: 0.8844 MB / 488.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2497, allocations: 0.6971 MB / 489 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.2498, allocations: 26.55 kB / 489 MB, free: 2.395 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2498, allocations: 0 / 489 MB, free: 2.395 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/2.663, allocations: 1.539 MB / 490.5 MB, free: 2.277 MB / 314.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)