Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004021/0.004027, allocations: 364.1 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.841/3.841, 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.003596/0.003596, allocations: 223.9 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.7483/0.7483, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004441, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.0939, allocations: 53.23 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5388, allocations: 92.6 MB / 0.7646 GB, free: 81.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5391, allocations: 97.28 kB / 0.7647 GB, free: 81.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03868/0.5778, allocations: 9.884 MB / 0.7744 GB, free: 80.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5779, allocations: 0 / 0.7744 GB, free: 80.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.082e-05/0.5779, allocations: 11.55 kB / 0.7744 GB, free: 80.54 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0013/0.5792, allocations: 0.6331 MB / 0.775 GB, free: 80.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5793, allocations: 7.688 kB / 0.775 GB, free: 80.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.5794, allocations: 44.16 kB / 0.7751 GB, free: 80.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5806, allocations: 451.5 kB / 0.7755 GB, free: 79.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.5807, allocations: 23.22 kB / 0.7755 GB, free: 79.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.5807, allocations: 30.03 kB / 0.7756 GB, free: 79.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.5814, allocations: 340.4 kB / 0.7759 GB, free: 79.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.5815, allocations: 7.891 kB / 0.7759 GB, free: 79.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.5815, allocations: 10.72 kB / 0.7759 GB, free: 79.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5815, allocations: 10.31 kB / 0.7759 GB, free: 79.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.582, allocations: 198.8 kB / 0.7761 GB, free: 79.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.584, allocations: 1.493 MB / 0.7776 GB, free: 78.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.5845, allocations: 196.8 kB / 0.7777 GB, free: 78.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5847, allocations: 85.61 kB / 0.7778 GB, free: 78.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5848, allocations: 4 kB / 0.7778 GB, free: 78.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5848, allocations: 41.62 kB / 0.7779 GB, free: 78.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.766e-06/0.5848, allocations: 0 / 0.7779 GB, free: 78.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.001722/0.5865, allocations: 0.8825 MB / 0.7787 GB, free: 77.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5866, allocations: 132.4 kB / 0.7789 GB, free: 77.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.587, allocations: 312.4 kB / 0.7792 GB, free: 77.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.587, allocations: 28.95 kB / 0.7792 GB, free: 77.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5872, allocations: 214.1 kB / 0.7794 GB, free: 77.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.5873, allocations: 74.3 kB / 0.7795 GB, free: 77.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.5873, allocations: 5.688 kB / 0.7795 GB, free: 77.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.5874, allocations: 343.1 kB / 0.7798 GB, free: 77.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.5875, allocations: 51.17 kB / 0.7798 GB, free: 77.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.5877, allocations: 153.9 kB / 0.78 GB, free: 76.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.5879, allocations: 68.52 kB / 0.78 GB, free: 76.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.5879, allocations: 7.875 kB / 0.7801 GB, free: 76.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005173/0.5885, allocations: 261.2 kB / 0.7803 GB, free: 76.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5885, allocations: 3.844 kB / 0.7803 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5885, allocations: 4.062 kB / 0.7803 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5886, allocations: 7.656 kB / 0.7803 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.5892, allocations: 85.16 kB / 0.7804 GB, free: 76.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/0.59, allocations: 1.284 MB / 0.7817 GB, free: 75.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.5903, allocations: 7.312 kB / 0.7817 GB, free: 75.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.5903, allocations: 14.84 kB / 0.7817 GB, free: 75.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002628/0.5906, allocations: 169.7 kB / 0.7818 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5907, allocations: 34.98 kB / 0.7819 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.5912, allocations: 197.1 kB / 0.7821 GB, free: 75.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5912, allocations: 3.047 kB / 0.7821 GB, free: 75.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5912, allocations: 3.906 kB / 0.7821 GB, free: 75.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5912, allocations: 0 / 0.7821 GB, free: 75.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.5922, allocations: 0.5498 MB / 0.7826 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5922, allocations: 3.719 kB / 0.7826 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.5926, allocations: 43.86 kB / 0.7826 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5926, allocations: 3.969 kB / 0.7827 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.5927, allocations: 4.031 kB / 0.7827 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.5927, allocations: 3.906 kB / 0.7827 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5927, allocations: 0 / 0.7827 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.5933, allocations: 0.4958 MB / 0.7831 GB, free: 74.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.5934, allocations: 113.3 kB / 0.7833 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.5934, allocations: 3.375 kB / 0.7833 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.5937, allocations: 7.125 kB / 0.7833 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.5938, allocations: 7.328 kB / 0.7833 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.5938, allocations: 14.58 kB / 0.7833 GB, free: 74.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002684/0.5941, allocations: 213.9 kB / 0.7835 GB, free: 74.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5941, allocations: 0 / 0.7835 GB, free: 74.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005986/0.5947, allocations: 73.27 kB / 0.7836 GB, free: 74.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002055/0.5949, allocations: 136.5 kB / 0.7837 GB, free: 74.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.5954, allocations: 161.8 kB / 0.7838 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5955, allocations: 0 / 0.7838 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.5956, allocations: 71.67 kB / 0.7839 GB, free: 74.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5967, allocations: 91.11 kB / 0.784 GB, free: 74.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.5986, allocations: 1.021 MB / 0.785 GB, free: 73.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5989, allocations: 0.8082 MB / 0.7858 GB, free: 73.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.5993, allocations: 57.41 kB / 0.7858 GB, free: 73.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5994, allocations: 26.56 kB / 0.7859 GB, free: 73.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5994, allocations: 0 / 0.7859 GB, free: 73.04 MB / 442.7 MB Notification: Performance of Templates: time 0.01068/0.6101, allocations: 3.424 MB / 0.7892 GB, free: 71.59 MB / 442.7 MB