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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009415/0.0009416, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.144/1.144, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001517/0.001517, allocations: 114.7 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1549/0.1549, allocations: 37.99 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06757/0.06791, allocations: 53.22 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.3268, allocations: 82.64 MB / 0.527 GB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.327, allocations: 86.42 kB / 0.5271 GB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004185/0.3312, allocations: 1.638 MB / 0.5287 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3312, allocations: 7.938 kB / 0.5287 GB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3312, allocations: 0 / 0.5287 GB, free: 10.15 MB / 346.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.0004654/0.3317, allocations: 412.7 kB / 0.5291 GB, free: 9.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3318, allocations: 12.02 kB / 0.5291 GB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3318, allocations: 15.86 kB / 0.5291 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3319, allocations: 190 kB / 0.5293 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.332, allocations: 7.812 kB / 0.5293 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.332, allocations: 4 kB / 0.5293 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3322, allocations: 100.7 kB / 0.5294 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3322, allocations: 3.938 kB / 0.5294 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3322, allocations: 4 kB / 0.5294 GB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3323, allocations: 18.06 kB / 0.5294 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.3325, allocations: 81.77 kB / 0.5295 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3331, allocations: 451.2 kB / 0.5299 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.3334, allocations: 100.4 kB / 0.53 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3334, allocations: 0 / 0.53 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.3334, allocations: 34.56 kB / 0.5301 GB, free: 8.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.3334, allocations: 0 / 0.5301 GB, free: 8.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003833/0.3338, allocations: 153.7 kB / 0.5302 GB, free: 8.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.3338, allocations: 55.41 kB / 0.5302 GB, free: 8.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.3339, allocations: 139.2 kB / 0.5304 GB, free: 8.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3339, allocations: 25.7 kB / 0.5304 GB, free: 8.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.334, allocations: 102.9 kB / 0.5305 GB, free: 8.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.334, allocations: 27.22 kB / 0.5305 GB, free: 8.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.334, allocations: 0 / 0.5305 GB, free: 8.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.3341, allocations: 322.6 kB / 0.5308 GB, free: 7.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3342, allocations: 42.73 kB / 0.5309 GB, free: 7.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3343, allocations: 62.72 kB / 0.5309 GB, free: 7.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3344, allocations: 51.05 kB / 0.531 GB, free: 7.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3344, allocations: 0 / 0.531 GB, free: 7.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002513/0.3347, allocations: 139 kB / 0.5311 GB, free: 7.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3347, allocations: 16.03 kB / 0.5311 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3347, allocations: 3.984 kB / 0.5311 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3347, allocations: 0 / 0.5311 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3349, allocations: 27.98 kB / 0.5312 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3349, allocations: 4 kB / 0.5312 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.335, allocations: 19.39 kB / 0.5312 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.335, allocations: 4 kB / 0.5312 GB, free: 7.59 MB / 346.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.706e-05/0.3351, allocations: 132 kB / 0.5313 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3351, allocations: 7.906 kB / 0.5313 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.3354, allocations: 130.8 kB / 0.5315 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3354, allocations: 2.188 kB / 0.5315 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3354, allocations: 4 kB / 0.5315 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3354, allocations: 0 / 0.5315 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3356, allocations: 203.9 kB / 0.5317 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3356, allocations: 8.141 kB / 0.5317 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3358, allocations: 31.86 kB / 0.5317 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3358, allocations: 3.938 kB / 0.5317 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3358, allocations: 0 / 0.5317 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3358, allocations: 0 / 0.5317 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3358, allocations: 3.984 kB / 0.5317 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3361, allocations: 270 kB / 0.532 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3362, allocations: 92.94 kB / 0.532 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3362, allocations: 3.875 kB / 0.532 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3363, allocations: 11.98 kB / 0.5321 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3364, allocations: 4 kB / 0.5321 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3364, allocations: 0 / 0.5321 GB, free: 6.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.3364, allocations: 109.9 kB / 0.5322 GB, free: 6.602 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3364, allocations: 0 / 0.5322 GB, free: 6.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.3367, allocations: 20 kB / 0.5322 GB, free: 6.582 MB / 346.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 8.303e-05/0.3367, allocations: 115.1 kB / 0.5323 GB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.337, allocations: 93.81 kB / 0.5324 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.337, allocations: 0 / 0.5324 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3371, allocations: 43.05 kB / 0.5324 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.3373, allocations: 11.8 kB / 0.5324 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.3378, allocations: 388.7 kB / 0.5328 GB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.3379, allocations: 0.7043 MB / 0.5335 GB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.338, allocations: 12.66 kB / 0.5335 GB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.338, allocations: 11.44 kB / 0.5335 GB, free: 5.195 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.338, allocations: 0 / 0.5335 GB, free: 5.195 MB / 346.7 MB Notification: Performance of Templates: time 0.002309/0.3403, allocations: 0.8985 MB / 0.5344 GB, free: 4.32 MB / 346.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)