Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002778/0.002784, allocations: 360.3 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.757/3.757, allocations: 388.9 MB / 406.8 MB, free: 11.97 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.003625/0.003625, allocations: 233.6 kB / 452.2 MB, free: 14.57 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.7387/0.7387, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006138/0.000614, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09112, allocations: 53.22 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.5416, allocations: 89.01 MB / 0.7611 GB, free: 81.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5419, allocations: 94.02 kB / 0.7612 GB, free: 81.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04697/0.5889, allocations: 13.19 MB / 0.7741 GB, free: 80.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.589, allocations: 0 / 0.7741 GB, free: 80.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.589, allocations: 7.844 kB / 0.7741 GB, free: 80.71 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008201/0.5898, allocations: 0.4969 MB / 0.7746 GB, free: 80.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5899, allocations: 11.47 kB / 0.7746 GB, free: 80.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.5912, allocations: 100.6 kB / 0.7747 GB, free: 80.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.5916, allocations: 260.5 kB / 0.775 GB, free: 80.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.5916, allocations: 11.44 kB / 0.775 GB, free: 80.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.5917, allocations: 25.17 kB / 0.775 GB, free: 80.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.5924, allocations: 312.2 kB / 0.7753 GB, free: 79.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5924, allocations: 0 / 0.7753 GB, free: 79.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.5924, allocations: 13.17 kB / 0.7753 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.5926, allocations: 21.67 kB / 0.7753 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.5932, allocations: 282.2 kB / 0.7756 GB, free: 79.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.5953, allocations: 1.285 MB / 0.7768 GB, free: 79.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.5958, allocations: 230.7 kB / 0.7771 GB, free: 78.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5959, allocations: 54.03 kB / 0.7771 GB, free: 78.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.596, allocations: 0 / 0.7771 GB, free: 78.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.596, allocations: 43.09 kB / 0.7772 GB, free: 78.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.596, allocations: 0 / 0.7772 GB, free: 78.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007843/0.5968, allocations: 264.5 kB / 0.7774 GB, free: 78.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5969, allocations: 83.45 kB / 0.7775 GB, free: 78.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.5971, allocations: 201.5 kB / 0.7777 GB, free: 78.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5971, allocations: 29.33 kB / 0.7777 GB, free: 78.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.5972, allocations: 162.3 kB / 0.7779 GB, free: 78.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.5973, allocations: 51.2 kB / 0.7779 GB, free: 78.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.5973, allocations: 3.312 kB / 0.7779 GB, free: 78.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.5974, allocations: 329.4 kB / 0.7782 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5975, allocations: 47.3 kB / 0.7783 GB, free: 78.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.5977, allocations: 138.7 kB / 0.7784 GB, free: 78.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5978, allocations: 75.03 kB / 0.7785 GB, free: 78.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5978, allocations: 0 / 0.7785 GB, free: 78.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004247/0.5983, allocations: 218.4 kB / 0.7787 GB, free: 77.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5983, allocations: 7.688 kB / 0.7787 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5983, allocations: 3.844 kB / 0.7787 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.5984, allocations: 6.469 kB / 0.7787 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.5987, allocations: 44.94 kB / 0.7787 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.5987, allocations: 13.88 kB / 0.7788 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.5989, allocations: 7.812 kB / 0.7788 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.5989, allocations: 7.688 kB / 0.7788 GB, free: 77.95 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 (25): * Single equations (assignments): 25 * 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 0.0001711/0.5991, allocations: 163.6 kB / 0.7789 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.5991, allocations: 19.44 kB / 0.779 GB, free: 77.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.5995, allocations: 140.8 kB / 0.7791 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5995, allocations: 4.531 kB / 0.7791 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5995, allocations: 0 / 0.7791 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5995, allocations: 4.719 kB / 0.7791 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6006, allocations: 0.6683 MB / 0.7797 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6006, allocations: 3.875 kB / 0.7798 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.6008, allocations: 33.58 kB / 0.7798 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.6008, allocations: 3.844 kB / 0.7798 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6009, allocations: 7.906 kB / 0.7798 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.6009, allocations: 11.56 kB / 0.7798 GB, free: 77.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6009, allocations: 11.83 kB / 0.7798 GB, free: 77.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.6012, allocations: 318.7 kB / 0.7801 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.6013, allocations: 108 kB / 0.7802 GB, free: 76.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.6014, allocations: 7.719 kB / 0.7802 GB, free: 76.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.6016, allocations: 7.125 kB / 0.7802 GB, free: 76.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.6016, allocations: 22.88 kB / 0.7803 GB, free: 76.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6016, allocations: 7.688 kB / 0.7803 GB, free: 76.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.6018, allocations: 136 kB / 0.7804 GB, free: 76.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6018, allocations: 4 kB / 0.7804 GB, free: 76.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004795/0.6023, allocations: 45.88 kB / 0.7804 GB, free: 76.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001196/0.6024, allocations: 118.3 kB / 0.7806 GB, free: 76.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.6028, allocations: 129 kB / 0.7807 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6028, allocations: 192 / 0.7807 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.6029, allocations: 67.41 kB / 0.7807 GB, free: 76.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.6035, allocations: 39.55 kB / 0.7808 GB, free: 76.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6045, allocations: 0.5757 MB / 0.7813 GB, free: 76.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.6049, allocations: 0.7606 MB / 0.7821 GB, free: 75.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.6051, allocations: 48.17 kB / 0.7821 GB, free: 75.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.6052, allocations: 15.09 kB / 0.7821 GB, free: 75.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6052, allocations: 0 / 0.7821 GB, free: 75.41 MB / 442.7 MB Notification: Performance of Templates: time 0.005442/0.6106, allocations: 1.237 MB / 0.7834 GB, free: 74.84 MB / 442.7 MB