Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Wind.Test.RotorTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002255/0.002255, allocations: 353.3 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.332/3.332, allocations: 388.9 MB / 406.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003248/0.003248, allocations: 223.9 kB / 451.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6144/0.6144, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06614/0.06663, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002164/0.06883, allocations: 2.075 MB / 0.6756 GB, free: 58.72 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.06943, allocations: 456.2 kB / 0.6761 GB, free: 58.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.06951, allocations: 0 / 0.6761 GB, free: 58.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.06955, allocations: 7.938 kB / 0.6761 GB, free: 58.26 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.06969, allocations: 23.78 kB / 0.6761 GB, free: 58.24 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.949e-05/0.06978, allocations: 19.91 kB / 0.6761 GB, free: 58.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.06991, allocations: 87.59 kB / 0.6762 GB, free: 58.13 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.07, allocations: 23.97 kB / 0.6762 GB, free: 58.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.07011, allocations: 35.84 kB / 0.6763 GB, free: 58.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.07019, allocations: 43.83 kB / 0.6763 GB, free: 58.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.07022, allocations: 4 kB / 0.6763 GB, free: 58.03 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.07024, allocations: 4 kB / 0.6763 GB, free: 58.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.07027, allocations: 19.86 kB / 0.6763 GB, free: 58 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.0703, allocations: 41.64 kB / 0.6764 GB, free: 57.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.794e-05/0.07039, allocations: 64.08 kB / 0.6764 GB, free: 57.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.762e-06/0.0704, allocations: 0 / 0.6764 GB, free: 57.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.775e-06/0.07041, allocations: 0 / 0.6764 GB, free: 57.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.083e-06/0.07043, allocations: 0 / 0.6764 GB, free: 57.89 MB / 442.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.0005092/0.07095, allocations: 407.1 kB / 0.6768 GB, free: 57.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.07099, allocations: 12.81 kB / 0.6768 GB, free: 57.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.07105, allocations: 11.81 kB / 0.6768 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.0712, allocations: 186.9 kB / 0.677 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.07125, allocations: 4 kB / 0.677 GB, free: 57.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.07128, allocations: 8 kB / 0.677 GB, free: 57.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.07153, allocations: 93.58 kB / 0.6771 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.07156, allocations: 3.953 kB / 0.6771 GB, free: 57.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.07158, allocations: 8 kB / 0.6771 GB, free: 57.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.07159, allocations: 0 / 0.6771 GB, free: 57.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.07185, allocations: 83.94 kB / 0.6772 GB, free: 57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.07262, allocations: 469.1 kB / 0.6777 GB, free: 56.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.07301, allocations: 94.67 kB / 0.6777 GB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.07318, allocations: 48.77 kB / 0.6778 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.07321, allocations: 4 kB / 0.6778 GB, free: 56.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.07323, allocations: 38.5 kB / 0.6778 GB, free: 56.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.065e-06/0.07324, allocations: 0 / 0.6778 GB, free: 56.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004825/0.07373, allocations: 157.7 kB / 0.678 GB, free: 56.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.07377, allocations: 51.41 kB / 0.678 GB, free: 56.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.07388, allocations: 143.2 kB / 0.6782 GB, free: 55.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.0739, allocations: 29.7 kB / 0.6782 GB, free: 55.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.07395, allocations: 103.9 kB / 0.6783 GB, free: 55.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.07398, allocations: 27.78 kB / 0.6783 GB, free: 55.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-06/0.074, allocations: 0 / 0.6783 GB, free: 55.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.07406, allocations: 326.8 kB / 0.6786 GB, free: 55.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.0742, allocations: 39.98 kB / 0.6787 GB, free: 55.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.07434, allocations: 63.34 kB / 0.6787 GB, free: 55.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.07449, allocations: 47.98 kB / 0.6788 GB, free: 55.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.07451, allocations: 0 / 0.6788 GB, free: 55.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003367/0.07485, allocations: 141.5 kB / 0.6789 GB, free: 55.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.07488, allocations: 4.188 kB / 0.6789 GB, free: 55.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.07489, allocations: 0 / 0.6789 GB, free: 55.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.07491, allocations: 7.938 kB / 0.6789 GB, free: 55.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.07509, allocations: 35.91 kB / 0.679 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.047e-06/0.07511, allocations: 0 / 0.679 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.07523, allocations: 15.97 kB / 0.679 GB, free: 55.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.07526, allocations: 8 kB / 0.679 GB, free: 55.04 MB / 442.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 6.962e-05/0.07534, allocations: 121.8 kB / 0.6791 GB, free: 54.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.07539, allocations: 11.81 kB / 0.6791 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.07573, allocations: 142.3 kB / 0.6792 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.07575, allocations: 4 kB / 0.6792 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-06/0.07576, allocations: 0 / 0.6792 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.622e-06/0.07577, allocations: 0 / 0.6792 GB, free: 54.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.07602, allocations: 205.6 kB / 0.6794 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-06/0.07603, allocations: 0 / 0.6794 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.07623, allocations: 23.98 kB / 0.6795 GB, free: 54.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.061e-06/0.07625, allocations: 0 / 0.6795 GB, free: 54.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.07627, allocations: 12 kB / 0.6795 GB, free: 54.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-06/0.07628, allocations: 0 / 0.6795 GB, free: 54.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-06/0.07629, allocations: 3.938 kB / 0.6795 GB, free: 54.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.0768, allocations: 275.3 kB / 0.6797 GB, free: 54.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.07685, allocations: 93.02 kB / 0.6798 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.07689, allocations: 0 / 0.6798 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.07707, allocations: 8 kB / 0.6798 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.07713, allocations: 7.984 kB / 0.6798 GB, free: 54.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.07716, allocations: 4 kB / 0.6799 GB, free: 54.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.07723, allocations: 104.5 kB / 0.68 GB, free: 53.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.07724, allocations: 4 kB / 0.68 GB, free: 53.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003188/0.07757, allocations: 16 kB / 0.68 GB, free: 53.91 MB / 442.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 7.556e-05/0.07765, allocations: 99.23 kB / 0.6801 GB, free: 53.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.078, allocations: 95.95 kB / 0.6802 GB, free: 53.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.186e-06/0.07801, allocations: 0 / 0.6802 GB, free: 53.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.07816, allocations: 47.91 kB / 0.6802 GB, free: 53.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.0785, allocations: 19.89 kB / 0.6802 GB, free: 53.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.0791, allocations: 385.5 kB / 0.6806 GB, free: 53.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.07924, allocations: 0.7011 MB / 0.6813 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.07932, allocations: 12.66 kB / 0.6813 GB, free: 52.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.07938, allocations: 15.38 kB / 0.6813 GB, free: 52.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.179e-06/0.07939, allocations: 0 / 0.6813 GB, free: 52.49 MB / 442.7 MB Notification: Performance of Templates: time 0.003283/0.08268, allocations: 0.8899 MB / 0.6822 GB, free: 51.61 MB / 442.7 MB