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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 88.22 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.00137, allocations: 175.2 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1947/0.1947, allocations: 38.05 MB / 310.1 MB, free: 5.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005678, allocations: 19.98 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003465/0.2842, allocations: 2.154 MB / 435.6 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.2849, allocations: 463.8 kB / 436.1 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.285, allocations: 0 / 436.1 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2852, allocations: 7.922 kB / 436.1 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.2854, allocations: 23.83 kB / 436.1 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.2855, allocations: 27.92 kB / 436.2 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.2857, allocations: 99.58 kB / 436.2 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.2858, allocations: 15.98 kB / 436.3 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2859, allocations: 35.84 kB / 436.3 MB, free: 16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.286, allocations: 51.75 kB / 436.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2861, allocations: 4 kB / 436.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.2861, allocations: 7.938 kB / 436.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.2862, allocations: 15.92 kB / 436.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.2862, allocations: 61.5 kB / 436.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2864, allocations: 89.77 kB / 436.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2864, allocations: 4 kB / 436.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2864, allocations: 0 / 436.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2864, allocations: 0 / 436.5 MB, free: 15.77 MB / 318.1 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.0007141/0.2871, allocations: 411.1 kB / 436.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.2872, allocations: 12.03 kB / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.2873, allocations: 8.844 kB / 436.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.2875, allocations: 192.1 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2875, allocations: 8.359 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.2876, allocations: 12.12 kB / 437.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.2879, allocations: 97.64 kB / 437.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2879, allocations: 3.906 kB / 437.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2879, allocations: 0 / 437.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2879, allocations: 4 kB / 437.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.2882, allocations: 75.95 kB / 437.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.2891, allocations: 465.2 kB / 437.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.2895, allocations: 102.6 kB / 437.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2897, allocations: 40.84 kB / 437.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2897, allocations: 3.984 kB / 437.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2898, allocations: 38.56 kB / 438 MB, free: 14.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.2898, allocations: 0 / 438 MB, free: 14.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005732/0.2903, allocations: 157.6 kB / 438.1 MB, free: 13.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2904, allocations: 59.33 kB / 438.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2905, allocations: 146.2 kB / 438.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2905, allocations: 29.7 kB / 438.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2906, allocations: 116 kB / 438.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2907, allocations: 19.66 kB / 438.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.2907, allocations: 13.72 kB / 438.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.2908, allocations: 322.8 kB / 438.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2909, allocations: 39.97 kB / 438.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2911, allocations: 67.41 kB / 438.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.2914, allocations: 115.3 kB / 439 MB, free: 13.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2914, allocations: 0 / 439 MB, free: 13.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003792/0.2918, allocations: 133.8 kB / 439.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2918, allocations: 4 kB / 439.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2919, allocations: 7.938 kB / 439.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2919, allocations: 0 / 439.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.2921, allocations: 43.84 kB / 439.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2921, allocations: 0 / 439.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2922, allocations: 11.91 kB / 439.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2923, allocations: 12.02 kB / 439.2 MB, free: 12.8 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.2924, allocations: 113.8 kB / 439.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.2924, allocations: 11.91 kB / 439.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.2928, allocations: 142.3 kB / 439.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2928, allocations: 3.938 kB / 439.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2928, allocations: 0 / 439.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2929, allocations: 3.984 kB / 439.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2931, allocations: 209.5 kB / 439.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2932, allocations: 0 / 439.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2934, allocations: 31.98 kB / 439.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2934, allocations: 0 / 439.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2934, allocations: 0 / 439.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2934, allocations: 3.938 kB / 439.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2934, allocations: 4 kB / 439.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.294, allocations: 275.3 kB / 440 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.294, allocations: 85 kB / 440.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.294, allocations: 8.031 kB / 440.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.2942, allocations: 11.88 kB / 440.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.2943, allocations: 7.984 kB / 440.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2943, allocations: 0 / 440.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.584e-05/0.2944, allocations: 115.2 kB / 440.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2944, allocations: 0 / 440.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.2947, allocations: 23.97 kB / 440.3 MB, free: 11.67 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.376e-05/0.2949, allocations: 91.25 kB / 440.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.2952, allocations: 91.89 kB / 440.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2952, allocations: 4.188 kB / 440.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2954, allocations: 51.91 kB / 440.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.2959, allocations: 8.859 kB / 440.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.2966, allocations: 388.6 kB / 440.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2967, allocations: 0.7004 MB / 441.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.2968, allocations: 12.66 kB / 441.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.2969, allocations: 11.44 kB / 441.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.2969, allocations: 0 / 441.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of Templates: time 0.003693/0.3006, allocations: 0.9163 MB / 442.5 MB, free: 9.348 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: