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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008607/0.0008607, allocations: 174 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.176/1.176, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.0006929/0.000693, allocations: 94.28 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1602/0.1602, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002373/0.243, allocations: 2.12 MB / 481.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004897/0.2435, allocations: 446.6 kB / 482.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.2436, allocations: 2.156 kB / 482.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.2437, allocations: 6.703 kB / 482.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2438, allocations: 34.2 kB / 482.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.347e-05/0.2439, allocations: 17.88 kB / 482.2 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2441, allocations: 88.12 kB / 482.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2442, allocations: 18.97 kB / 482.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.2443, allocations: 42.44 kB / 482.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.2444, allocations: 37.23 kB / 482.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2444, allocations: 4.031 kB / 482.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.2444, allocations: 8.812 kB / 482.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2444, allocations: 20.36 kB / 482.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.2445, allocations: 62.16 kB / 482.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2446, allocations: 58.36 kB / 482.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2446, allocations: 1.312 kB / 482.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2446, allocations: 0 / 482.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2446, allocations: 0 / 482.6 MB, free: 7.488 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.0005124/0.2451, allocations: 413.3 kB / 483 MB, free: 7.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2452, allocations: 9.5 kB / 483 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.2452, allocations: 13.5 kB / 483 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2454, allocations: 194.2 kB / 483.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2454, allocations: 7.812 kB / 483.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.2454, allocations: 8.562 kB / 483.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2456, allocations: 106.3 kB / 483.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2457, allocations: 3.906 kB / 483.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2457, allocations: 1.156 kB / 483.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2457, allocations: 2.062 kB / 483.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.2459, allocations: 82.41 kB / 483.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.2466, allocations: 457.6 kB / 483.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.2469, allocations: 97.44 kB / 483.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2471, allocations: 42.84 kB / 484 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2471, allocations: 1.406 kB / 484 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.2471, allocations: 35.58 kB / 484 MB, free: 6.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2471, allocations: 4 kB / 484 MB, free: 6.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004165/0.2475, allocations: 150.4 kB / 484.2 MB, free: 6.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.2476, allocations: 56.53 kB / 484.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.2477, allocations: 148.2 kB / 484.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.2477, allocations: 30.92 kB / 484.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2477, allocations: 108.2 kB / 484.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2478, allocations: 24.27 kB / 484.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2478, allocations: 5.062 kB / 484.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.2478, allocations: 319.9 kB / 484.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2479, allocations: 41.05 kB / 484.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2481, allocations: 65.27 kB / 484.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.2483, allocations: 110.8 kB / 485.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2483, allocations: 0.9062 kB / 485.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002806/0.2486, allocations: 143.7 kB / 485.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2486, allocations: 6.094 kB / 485.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2486, allocations: 1.031 kB / 485.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2486, allocations: 2.062 kB / 485.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2488, allocations: 33.36 kB / 485.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2488, allocations: 0.9375 kB / 485.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.2489, allocations: 23.73 kB / 485.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2489, allocations: 11.47 kB / 485.3 MB, free: 5.344 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.787e-05/0.249, allocations: 115.2 kB / 485.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.249, allocations: 7.562 kB / 485.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.2493, allocations: 135.4 kB / 485.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2493, allocations: 10 kB / 485.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2493, allocations: 0 / 485.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2494, allocations: 1.953 kB / 485.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2496, allocations: 208.8 kB / 485.7 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2496, allocations: 3.938 kB / 485.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2497, allocations: 25.91 kB / 485.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2497, allocations: 4.75 kB / 485.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2497, allocations: 6.297 kB / 485.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2497, allocations: 3.938 kB / 485.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2498, allocations: 0.7969 kB / 485.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.2501, allocations: 268.5 kB / 486 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.2502, allocations: 89.16 kB / 486.1 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2502, allocations: 1.156 kB / 486.1 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2503, allocations: 16.81 kB / 486.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.2504, allocations: 9.844 kB / 486.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2504, allocations: 1.25 kB / 486.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.2504, allocations: 117.5 kB / 486.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2505, allocations: 0 / 486.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2507, allocations: 24.84 kB / 486.3 MB, free: 4.531 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 6.24e-05/0.2507, allocations: 93.55 kB / 486.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.251, allocations: 94.67 kB / 486.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.251, allocations: 0 / 486.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2511, allocations: 48.05 kB / 486.5 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2514, allocations: 11.42 kB / 486.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.252, allocations: 412.3 kB / 486.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2521, allocations: 0.7006 MB / 487.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.2521, allocations: 11 kB / 487.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2521, allocations: 1.062 kB / 487.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of Templates: time 0.002497/0.2546, allocations: 1.261 MB / 488.9 MB, free: 3.332 MB / 314.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)