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.001043/0.001047, allocations: 191.9 kB / 17.27 MB, free: 4.5 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.18/1.18, allocations: 194.2 MB / 212.2 MB, free: 2.375 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.001656/0.001656, allocations: 127.2 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1622/0.1622, allocations: 37.96 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08461, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003239/0.08789, allocations: 2.46 MB / 456.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.08842, allocations: 463.7 kB / 456.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.08852, allocations: 4 kB / 456.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.08863, allocations: 7.875 kB / 456.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.0888, allocations: 19.84 kB / 456.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.08891, allocations: 31.91 kB / 457 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.08904, allocations: 91.66 kB / 457.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.08915, allocations: 23.97 kB / 457.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.08925, allocations: 35.8 kB / 457.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.08934, allocations: 47.77 kB / 457.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.08936, allocations: 4 kB / 457.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.08939, allocations: 4 kB / 457.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.08941, allocations: 23.92 kB / 457.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.08946, allocations: 39.78 kB / 457.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.08957, allocations: 87.91 kB / 457.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.08958, allocations: 0 / 457.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08959, allocations: 3.938 kB / 457.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.0896, allocations: 0 / 457.3 MB, free: 13.22 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.0005658/0.09017, allocations: 419 kB / 457.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.09021, allocations: 12.03 kB / 457.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.09026, allocations: 8.844 kB / 457.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.09042, allocations: 192.1 kB / 457.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.09044, allocations: 8.375 kB / 457.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.09047, allocations: 7.938 kB / 458 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.09069, allocations: 97.52 kB / 458.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.09072, allocations: 0 / 458.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.09073, allocations: 0 / 458.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.09075, allocations: 8 kB / 458.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.09097, allocations: 67.94 kB / 458.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.09165, allocations: 465.1 kB / 458.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.09196, allocations: 98.64 kB / 458.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.09208, allocations: 32.84 kB / 458.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.0921, allocations: 0 / 458.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.09213, allocations: 42.5 kB / 458.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.09214, allocations: 0 / 458.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.09253, allocations: 149.6 kB / 458.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.09256, allocations: 51.41 kB / 458.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.09264, allocations: 142.2 kB / 459.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.09266, allocations: 25.7 kB / 459.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.0927, allocations: 100 kB / 459.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.09273, allocations: 27.69 kB / 459.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.09278, allocations: 25.72 kB / 459.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.09282, allocations: 322.8 kB / 459.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.09294, allocations: 35.97 kB / 459.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.09305, allocations: 63.34 kB / 459.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.09327, allocations: 103.4 kB / 459.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.09328, allocations: 0 / 459.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002685/0.09355, allocations: 129.6 kB / 459.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.09358, allocations: 4 kB / 459.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.09359, allocations: 8.094 kB / 459.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.09361, allocations: 3.938 kB / 459.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.09376, allocations: 31.97 kB / 459.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.09377, allocations: 8.125 kB / 460 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.09387, allocations: 11.94 kB / 460 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.09389, allocations: 7.938 kB / 460 MB, free: 10.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.09396, allocations: 117.8 kB / 460.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.094, allocations: 11.81 kB / 460.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.0943, allocations: 126.3 kB / 460.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.09431, allocations: 7.875 kB / 460.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.09432, allocations: 0 / 460.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.09433, allocations: 4 kB / 460.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.09452, allocations: 205.6 kB / 460.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.09453, allocations: 0 / 460.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.09467, allocations: 23.98 kB / 460.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.09468, allocations: 4 kB / 460.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.0947, allocations: 4 kB / 460.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.09471, allocations: 3.938 kB / 460.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09471, allocations: 0 / 460.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.09558, allocations: 1.109 MB / 461.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.09561, allocations: 84.95 kB / 461.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.09563, allocations: 8.031 kB / 461.7 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.09576, allocations: 11.92 kB / 461.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.09581, allocations: 7.984 kB / 461.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.09582, allocations: 0 / 461.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.09587, allocations: 112 kB / 461.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09588, allocations: 0 / 461.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.09619, allocations: 31.94 kB / 461.8 MB, free: 8.23 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 (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.584e-05/0.09627, allocations: 95.23 kB / 461.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.09653, allocations: 87.88 kB / 462 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.09654, allocations: 0 / 462 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.09665, allocations: 48.09 kB / 462.1 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.09696, allocations: 15.88 kB / 462.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.09755, allocations: 488.6 kB / 462.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.09768, allocations: 0.6926 MB / 463.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.09775, allocations: 12.66 kB / 463.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.09779, allocations: 11.44 kB / 463.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0978, allocations: 0 / 463.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of Templates: time 0.00292/0.1007, allocations: 0.9877 MB / 464.3 MB, free: 5.738 MB / 314.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)