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.001194/0.001194, allocations: 114.4 kB / 17.69 MB, free: 5.297 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.001475/0.001475, allocations: 191 kB / 18.63 MB, free: 4.363 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.406/1.406, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1817/0.1817, allocations: 37.99 MB / 309.8 MB, free: 5.988 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.001435/0.001435, allocations: 67.91 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003631/0.2444, allocations: 2.455 MB / 434.5 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.2449, allocations: 483.7 kB / 435 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.245, allocations: 4 kB / 435 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2451, allocations: 11.86 kB / 435 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.2453, allocations: 23.78 kB / 435 MB, free: 16.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.491e-05/0.2454, allocations: 19.97 kB / 435 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2455, allocations: 103.6 kB / 435.1 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2456, allocations: 19.97 kB / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.2457, allocations: 51.78 kB / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.2458, allocations: 43.83 kB / 435.2 MB, free: 16.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.2458, allocations: 8 kB / 435.2 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.2459, allocations: 8 kB / 435.2 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2459, allocations: 19.92 kB / 435.3 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2459, allocations: 43.73 kB / 435.3 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2461, allocations: 91.53 kB / 435.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2461, allocations: 0 / 435.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2461, allocations: 0 / 435.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2461, allocations: 3.938 kB / 435.4 MB, free: 16.11 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.0006325/0.2467, allocations: 422.7 kB / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2468, allocations: 15.88 kB / 435.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.2468, allocations: 16.75 kB / 435.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.247, allocations: 192.1 kB / 436 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2471, allocations: 4.375 kB / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.2471, allocations: 16.12 kB / 436 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2473, allocations: 85.64 kB / 436.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2474, allocations: 0 / 436.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2474, allocations: 8 kB / 436.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2474, allocations: 0 / 436.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.2476, allocations: 71.94 kB / 436.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.2483, allocations: 465.1 kB / 436.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2486, allocations: 94.59 kB / 436.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2487, allocations: 36.84 kB / 436.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2488, allocations: 8.141 kB / 436.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2488, allocations: 34.56 kB / 436.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2488, allocations: 0 / 436.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003962/0.2492, allocations: 133.5 kB / 437 MB, free: 14.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2492, allocations: 55.34 kB / 437 MB, free: 14.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.2493, allocations: 138.3 kB / 437.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2493, allocations: 29.7 kB / 437.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.2494, allocations: 112.1 kB / 437.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2494, allocations: 27.55 kB / 437.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.2495, allocations: 25.66 kB / 437.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.2495, allocations: 322.8 kB / 437.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.2496, allocations: 31.97 kB / 437.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.2497, allocations: 63.41 kB / 437.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2499, allocations: 99.64 kB / 437.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2499, allocations: 0 / 437.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002455/0.2502, allocations: 133.5 kB / 438 MB, free: 13.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2502, allocations: 8 kB / 438 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2502, allocations: 0 / 438 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2503, allocations: 0 / 438 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2504, allocations: 39.86 kB / 438 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2504, allocations: 3.984 kB / 438 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.964e-05/0.2505, allocations: 7.938 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2505, allocations: 4.094 kB / 438 MB, free: 13.21 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 6.674e-05/0.2506, allocations: 121.8 kB / 438.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.2506, allocations: 11.89 kB / 438.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.2509, allocations: 118.3 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2509, allocations: 11.92 kB / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2509, allocations: 0 / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2509, allocations: 0 / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2512, allocations: 217.4 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2512, allocations: 8 kB / 438.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2513, allocations: 23.98 kB / 438.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2513, allocations: 0 / 438.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2513, allocations: 192 / 438.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2513, allocations: 3.938 kB / 438.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2513, allocations: 7.922 kB / 438.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2517, allocations: 255.3 kB / 438.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.2518, allocations: 89.05 kB / 438.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2518, allocations: 3.984 kB / 438.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2519, allocations: 7.938 kB / 438.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2519, allocations: 7.984 kB / 438.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.252, allocations: 4 kB / 438.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.252, allocations: 107.4 kB / 439 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.252, allocations: 0 / 439 MB, free: 12.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.2523, allocations: 24.06 kB / 439 MB, free: 12.11 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.828e-05/0.2523, allocations: 99.23 kB / 439.1 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.2526, allocations: 79.89 kB / 439.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2526, allocations: 0 / 439.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.2527, allocations: 43.91 kB / 439.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.253, allocations: 12.19 kB / 439.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.2535, allocations: 324.1 kB / 439.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2537, allocations: 0.7002 MB / 440.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.2538, allocations: 16.64 kB / 440.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.2538, allocations: 15.44 kB / 440.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2538, allocations: 0 / 440.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of Templates: time 0.00329/0.2571, allocations: 1.02 MB / 441.3 MB, free: 9.75 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)