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.001531/0.001531, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001677/0.001677, allocations: 192 kB / 18.63 MB, free: 4.375 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1746/0.1746, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001515/0.001515, allocations: 63.89 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2271, allocations: 55.25 MB / 432 MB, free: 19.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003185/0.2303, allocations: 2.451 MB / 434.5 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000494/0.2308, allocations: 475.7 kB / 434.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.2309, allocations: 0 / 434.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.323e-05/0.231, allocations: 11.86 kB / 435 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2311, allocations: 31.78 kB / 435 MB, free: 16.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.786e-05/0.2312, allocations: 19.97 kB / 435 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2313, allocations: 107.6 kB / 435.1 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2314, allocations: 23.92 kB / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.2315, allocations: 35.86 kB / 435.2 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.2316, allocations: 51.81 kB / 435.2 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2316, allocations: 4 kB / 435.2 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.2317, allocations: 12 kB / 435.2 MB, free: 16.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.2317, allocations: 19.92 kB / 435.3 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.2317, allocations: 43.73 kB / 435.3 MB, free: 16.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.2319, allocations: 93.56 kB / 435.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2319, allocations: 0 / 435.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2319, allocations: 3.938 kB / 435.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2319, allocations: 0 / 435.4 MB, free: 16.12 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.0005572/0.2325, allocations: 420.6 kB / 435.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2325, allocations: 19.88 kB / 435.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.2325, allocations: 12.75 kB / 435.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2327, allocations: 188.2 kB / 436 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2327, allocations: 8.359 kB / 436 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2328, allocations: 12.12 kB / 436 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.233, allocations: 89.64 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.233, allocations: 4 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.233, allocations: 0 / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.233, allocations: 4 kB / 436.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.2332, allocations: 71.88 kB / 436.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.2339, allocations: 461.2 kB / 436.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2342, allocations: 98.59 kB / 436.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2343, allocations: 36.84 kB / 436.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2343, allocations: 0 / 436.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2344, allocations: 30.56 kB / 436.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2344, allocations: 7.938 kB / 436.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003907/0.2348, allocations: 141.7 kB / 437 MB, free: 14.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.2348, allocations: 67.28 kB / 437 MB, free: 14.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.2349, allocations: 138.3 kB / 437.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2349, allocations: 25.7 kB / 437.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.235, allocations: 104.1 kB / 437.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.235, allocations: 31.55 kB / 437.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.235, allocations: 29.72 kB / 437.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.2351, allocations: 318.8 kB / 437.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2352, allocations: 35.97 kB / 437.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.2353, allocations: 55.41 kB / 437.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2355, allocations: 99.34 kB / 437.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2355, allocations: 0 / 437.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002436/0.2358, allocations: 129.5 kB / 438 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2358, allocations: 8.094 kB / 438 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2358, allocations: 4 kB / 438 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2358, allocations: 0 / 438 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2359, allocations: 31.86 kB / 438 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.236, allocations: 11.92 kB / 438 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.2361, allocations: 8 kB / 438 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2361, allocations: 4 kB / 438 MB, free: 13.22 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 7.809e-05/0.2362, allocations: 113.8 kB / 438.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.2362, allocations: 15.89 kB / 438.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.2365, allocations: 126.3 kB / 438.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2365, allocations: 7.922 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2365, allocations: 0 / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2365, allocations: 0 / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.2367, allocations: 209.5 kB / 438.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2367, allocations: 8 kB / 438.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2369, allocations: 19.98 kB / 438.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2369, allocations: 4 kB / 438.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2369, allocations: 8 kB / 438.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2369, allocations: 3.938 kB / 438.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2369, allocations: 0 / 438.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2373, allocations: 255.5 kB / 438.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.2373, allocations: 81.08 kB / 438.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2373, allocations: 11.92 kB / 438.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2375, allocations: 15.94 kB / 438.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2375, allocations: 3.984 kB / 438.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2375, allocations: 4 kB / 438.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.2376, allocations: 107.4 kB / 439 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2376, allocations: 0 / 439 MB, free: 12.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.2378, allocations: 20 kB / 439 MB, free: 12.13 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 7.021e-05/0.2379, allocations: 103.2 kB / 439.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2381, allocations: 83.89 kB / 439.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2381, allocations: 0 / 439.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2383, allocations: 44.61 kB / 439.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2385, allocations: 12 kB / 439.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.239, allocations: 328.3 kB / 439.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2392, allocations: 0.6963 MB / 440.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.2392, allocations: 12.66 kB / 440.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2393, allocations: 11.44 kB / 440.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2393, allocations: 0 / 440.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Templates: time 0.003084/0.2424, allocations: 1.037 MB / 441.3 MB, free: 9.754 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)