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.002603/0.002603, allocations: 361.6 kB / 17.21 MB, free: 4.953 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.765/3.765, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.003434/0.003434, allocations: 231.7 kB / 452.2 MB, free: 14.61 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.7218/0.7218, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004442, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.0916, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5184, allocations: 82.63 MB / 0.7549 GB, free: 81.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5188, allocations: 87.31 kB / 0.755 GB, free: 81.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006981/0.5258, allocations: 1.662 MB / 0.7566 GB, free: 81.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5258, allocations: 0 / 0.7566 GB, free: 81.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5258, allocations: 2.25 kB / 0.7566 GB, free: 81.21 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.0006383/0.5265, allocations: 410 kB / 0.757 GB, free: 80.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5265, allocations: 8.438 kB / 0.757 GB, free: 80.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.5266, allocations: 11.97 kB / 0.757 GB, free: 80.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.5268, allocations: 190.5 kB / 0.7572 GB, free: 80.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5268, allocations: 5.188 kB / 0.7572 GB, free: 80.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.5268, allocations: 7.812 kB / 0.7572 GB, free: 80.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.5272, allocations: 98.91 kB / 0.7573 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5272, allocations: 1.312 kB / 0.7573 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5272, allocations: 9.078 kB / 0.7573 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5273, allocations: 5.109 kB / 0.7573 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.5277, allocations: 80.69 kB / 0.7574 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009159/0.5286, allocations: 452.3 kB / 0.7578 GB, free: 80.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.5291, allocations: 99.59 kB / 0.7579 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.5293, allocations: 45.88 kB / 0.758 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.5294, allocations: 2.5 kB / 0.758 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5294, allocations: 31.81 kB / 0.758 GB, free: 80.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.5294, allocations: 0 / 0.758 GB, free: 80.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006841/0.5301, allocations: 162.9 kB / 0.7582 GB, free: 80.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.5301, allocations: 52.78 kB / 0.7582 GB, free: 80.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5303, allocations: 141.8 kB / 0.7584 GB, free: 79.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5303, allocations: 29.39 kB / 0.7584 GB, free: 79.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.5304, allocations: 104 kB / 0.7585 GB, free: 79.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.5304, allocations: 25.92 kB / 0.7585 GB, free: 79.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.5304, allocations: 0 / 0.7585 GB, free: 79.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.5305, allocations: 327.7 kB / 0.7588 GB, free: 79.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5307, allocations: 40.23 kB / 0.7589 GB, free: 79.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.5309, allocations: 62.48 kB / 0.7589 GB, free: 79.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.5311, allocations: 48.53 kB / 0.759 GB, free: 79.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5311, allocations: 0 / 0.759 GB, free: 79.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004961/0.5316, allocations: 143.7 kB / 0.7591 GB, free: 79.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5317, allocations: 9.438 kB / 0.7591 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5317, allocations: 1.281 kB / 0.7591 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5317, allocations: 1.188 kB / 0.7591 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.532, allocations: 36.91 kB / 0.7591 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.532, allocations: 6.219 kB / 0.7592 GB, free: 79.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5322, allocations: 16.27 kB / 0.7592 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5322, allocations: 8.25 kB / 0.7592 GB, free: 79.43 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 8.726e-05/0.5323, allocations: 125.3 kB / 0.7593 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5324, allocations: 8.625 kB / 0.7593 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.5329, allocations: 133.7 kB / 0.7594 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5329, allocations: 1.312 kB / 0.7594 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5329, allocations: 3.016 kB / 0.7594 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.533, allocations: 8.016 kB / 0.7594 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.5333, allocations: 205.2 kB / 0.7596 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5333, allocations: 0 / 0.7596 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.5336, allocations: 29.81 kB / 0.7597 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5336, allocations: 3.297 kB / 0.7597 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5336, allocations: 2 kB / 0.7597 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5336, allocations: 0 / 0.7597 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5336, allocations: 0 / 0.7597 GB, free: 79.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.5343, allocations: 269.6 kB / 0.7599 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.5344, allocations: 92.55 kB / 0.76 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.5344, allocations: 2.344 kB / 0.76 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.5346, allocations: 14.17 kB / 0.76 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.5347, allocations: 9.438 kB / 0.76 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5347, allocations: 5.875 kB / 0.76 GB, free: 78.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.554e-05/0.5348, allocations: 105.3 kB / 0.7601 GB, free: 78.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5348, allocations: 0 / 0.7601 GB, free: 78.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.5351, allocations: 18.12 kB / 0.7602 GB, free: 78.76 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 0.0001128/0.5353, allocations: 108.4 kB / 0.7603 GB, free: 78.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.5357, allocations: 90.89 kB / 0.7604 GB, free: 78.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5358, allocations: 3.062 kB / 0.7604 GB, free: 78.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.536, allocations: 51.61 kB / 0.7604 GB, free: 78.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5364, allocations: 15.62 kB / 0.7604 GB, free: 78.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.5372, allocations: 390.8 kB / 0.7608 GB, free: 78.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.5374, allocations: 0.7074 MB / 0.7615 GB, free: 77.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.5375, allocations: 6.312 kB / 0.7615 GB, free: 77.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.5376, allocations: 15.44 kB / 0.7615 GB, free: 77.74 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5376, allocations: 0 / 0.7615 GB, free: 77.74 MB / 442.7 MB Notification: Performance of Templates: time 0.004177/0.5418, allocations: 0.9006 MB / 0.7624 GB, free: 77.7 MB / 442.7 MB