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.001354/0.001354, allocations: 185.9 kB / 16.38 MB, free: 5.598 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 1.705/1.705, allocations: 194.5 MB / 211.6 MB, free: 7.559 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00185/0.001849, allocations: 124.5 kB / 256.9 MB, free: 10.17 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2294/0.2294, allocations: 38.01 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 14.56 kB / 403.8 MB, free: 55.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06754/0.06802, allocations: 53.22 MB / 457 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002346/0.07041, allocations: 2.059 MB / 459.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.071, allocations: 440.1 kB / 459.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.07109, allocations: 4 kB / 459.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.07113, allocations: 11.92 kB / 459.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.07129, allocations: 27.94 kB / 459.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.189e-05/0.07138, allocations: 23.91 kB / 459.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.07152, allocations: 63.84 kB / 459.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.07161, allocations: 15.98 kB / 459.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.07172, allocations: 39.84 kB / 459.7 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.07182, allocations: 43.83 kB / 459.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.07185, allocations: 4 kB / 459.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.07188, allocations: 4 kB / 459.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.07191, allocations: 15.92 kB / 459.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.07194, allocations: 37.64 kB / 459.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.49e-05/0.07204, allocations: 68.64 kB / 459.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.639e-06/0.07205, allocations: 0 / 459.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.07206, allocations: 4 kB / 459.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.833e-06/0.07208, allocations: 0 / 459.9 MB, free: 7.539 MB / 298.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.000517/0.0726, allocations: 403 kB / 460.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.07264, allocations: 12.02 kB / 460.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.0727, allocations: 11.91 kB / 460.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.07284, allocations: 190.9 kB / 460.5 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.07287, allocations: 0 / 460.5 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.0729, allocations: 12 kB / 460.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.07319, allocations: 105.2 kB / 460.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.07322, allocations: 0 / 460.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.07324, allocations: 3.953 kB / 460.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.07325, allocations: 0 / 460.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.07355, allocations: 87.94 kB / 460.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.07434, allocations: 457.3 kB / 461.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.07475, allocations: 94.67 kB / 461.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.0748, allocations: 0 / 461.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.07483, allocations: 38.56 kB / 461.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.494e-06/0.07484, allocations: 7.922 kB / 461.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004882/0.07534, allocations: 161.5 kB / 461.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.07537, allocations: 59.33 kB / 461.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.07548, allocations: 145.8 kB / 461.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.0755, allocations: 25.7 kB / 461.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.07556, allocations: 104 kB / 461.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.07559, allocations: 23.64 kB / 461.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-06/0.07561, allocations: 4 kB / 461.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.07567, allocations: 326.8 kB / 462.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.07582, allocations: 31.98 kB / 462.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.07597, allocations: 71.41 kB / 462.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.07613, allocations: 43.91 kB / 462.2 MB, free: 4.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-06/0.07614, allocations: 0 / 462.2 MB, free: 4.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000381/0.07653, allocations: 137.5 kB / 462.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.07656, allocations: 4 kB / 462.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-06/0.07658, allocations: 4 kB / 462.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.0766, allocations: 0 / 462.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.07682, allocations: 36.06 kB / 462.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.07684, allocations: 3.938 kB / 462.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.07697, allocations: 23.89 kB / 462.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.077, allocations: 0 / 462.4 MB, free: 4.73 MB / 298.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 7.562e-05/0.07708, allocations: 129.5 kB / 462.6 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.07713, allocations: 7.906 kB / 462.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.0775, allocations: 146.3 kB / 462.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-06/0.07752, allocations: 0 / 462.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-06/0.07753, allocations: 0 / 462.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-06/0.07754, allocations: 0 / 462.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.07779, allocations: 205.6 kB / 462.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-06/0.07781, allocations: 4 kB / 462.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.07801, allocations: 31.98 kB / 462.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.27e-06/0.07802, allocations: 0 / 462.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.07805, allocations: 0 / 462.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.07806, allocations: 0 / 462.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-06/0.07806, allocations: 0 / 462.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.07859, allocations: 287.8 kB / 463.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.07864, allocations: 85.05 kB / 463.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.07868, allocations: 7.938 kB / 463.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.07885, allocations: 12.06 kB / 463.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.0789, allocations: 11.92 kB / 463.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-06/0.07892, allocations: 0 / 463.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.07899, allocations: 107.2 kB / 463.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.079, allocations: 0 / 463.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000301/0.07933, allocations: 24 kB / 463.5 MB, free: 3.594 MB / 298.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 6.636e-05/0.0794, allocations: 91.25 kB / 463.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.07974, allocations: 95.89 kB / 463.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.4e-06/0.07976, allocations: 0 / 463.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.07991, allocations: 43.97 kB / 463.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.08014, allocations: 19.89 kB / 463.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.08076, allocations: 388.8 kB / 464.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.0809, allocations: 0.7004 MB / 464.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.08099, allocations: 12.66 kB / 464.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.08104, allocations: 11.44 kB / 464.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.08105, allocations: 0 / 464.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of Templates: time 0.003327/0.08439, allocations: 0.8877 MB / 465.7 MB, free: 1.305 MB / 298.7 MB