Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002609/0.002614, allocations: 361.4 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.626/3.626, allocations: 388.9 MB / 406.8 MB, free: 11.88 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.003554/0.003554, allocations: 237.5 kB / 452.2 MB, free: 14.48 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.7157/0.7157, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006111/0.0006113, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09025, allocations: 53.21 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.538, allocations: 94.98 MB / 0.767 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5384, allocations: 100.7 kB / 0.7671 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04527/0.5836, allocations: 11.45 MB / 0.7782 GB, free: 80.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5837, allocations: 0 / 0.7782 GB, free: 80.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.5838, allocations: 10.78 kB / 0.7783 GB, free: 80.35 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00186/0.5856, allocations: 0.8322 MB / 0.7791 GB, free: 79.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5857, allocations: 11.38 kB / 0.7791 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.5859, allocations: 54.28 kB / 0.7791 GB, free: 79.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.5881, allocations: 0.8014 MB / 0.7799 GB, free: 79.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.5882, allocations: 26.08 kB / 0.7799 GB, free: 79.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.5883, allocations: 41.12 kB / 0.78 GB, free: 79.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5894, allocations: 0.5332 MB / 0.7805 GB, free: 79.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5895, allocations: 8.953 kB / 0.7805 GB, free: 79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.5896, allocations: 15.75 kB / 0.7805 GB, free: 79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.5896, allocations: 21.95 kB / 0.7805 GB, free: 79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.5906, allocations: 389.7 kB / 0.7809 GB, free: 78.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.5937, allocations: 1.931 MB / 0.7828 GB, free: 77.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.5945, allocations: 335.8 kB / 0.7831 GB, free: 77.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.5949, allocations: 180.3 kB / 0.7833 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.595, allocations: 7.516 kB / 0.7833 GB, free: 77.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.5955, allocations: 273.7 kB / 0.7836 GB, free: 77.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.976e-06/0.5955, allocations: 4 kB / 0.7836 GB, free: 77.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002411/0.5979, allocations: 1.186 MB / 0.7847 GB, free: 76.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.598, allocations: 158.1 kB / 0.7849 GB, free: 76.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.5985, allocations: 398.7 kB / 0.7853 GB, free: 76.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.5986, allocations: 35.55 kB / 0.7853 GB, free: 76.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5988, allocations: 292.1 kB / 0.7856 GB, free: 76.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.5989, allocations: 114.5 kB / 0.7857 GB, free: 76.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.5989, allocations: 13.25 kB / 0.7857 GB, free: 76.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.599, allocations: 363.1 kB / 0.786 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.5993, allocations: 119.8 kB / 0.7861 GB, free: 75.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.5997, allocations: 287.2 kB / 0.7864 GB, free: 75.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.6001, allocations: 190.1 kB / 0.7866 GB, free: 75.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6001, allocations: 0 / 0.7866 GB, free: 75.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009968/0.6011, allocations: 0.5114 MB / 0.7871 GB, free: 75.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6012, allocations: 37.41 kB / 0.7871 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6012, allocations: 3.969 kB / 0.7871 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.6012, allocations: 11.56 kB / 0.7872 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.602, allocations: 109.7 kB / 0.7873 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.602, allocations: 12.12 kB / 0.7873 GB, free: 75.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.6025, allocations: 30.48 kB / 0.7873 GB, free: 75.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.6026, allocations: 31.05 kB / 0.7873 GB, free: 75.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0003699/0.6029, allocations: 253 kB / 0.7876 GB, free: 74.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.603, allocations: 46 kB / 0.7876 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.604, allocations: 449.6 kB / 0.788 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.604, allocations: 3.844 kB / 0.788 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.604, allocations: 4 kB / 0.788 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.604, allocations: 3.938 kB / 0.7881 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.6055, allocations: 0.9442 MB / 0.789 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6056, allocations: 0 / 0.789 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.6061, allocations: 69.64 kB / 0.789 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.6062, allocations: 4.062 kB / 0.789 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.6062, allocations: 11 kB / 0.7891 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6062, allocations: 0 / 0.7891 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6062, allocations: 4.031 kB / 0.7891 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.6075, allocations: 0.7106 MB / 0.7898 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.6077, allocations: 138.4 kB / 0.7899 GB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.6078, allocations: 13.34 kB / 0.7899 GB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.6081, allocations: 22.48 kB / 0.7899 GB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.6082, allocations: 22.5 kB / 0.7899 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.6083, allocations: 30.69 kB / 0.79 GB, free: 73.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003687/0.6087, allocations: 263.7 kB / 0.7902 GB, free: 73.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6087, allocations: 3.938 kB / 0.7902 GB, free: 73.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006434/0.6094, allocations: 117.6 kB / 0.7903 GB, free: 73.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0002715/0.6097, allocations: 144.6 kB / 0.7905 GB, free: 73.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008394/0.6105, allocations: 411.7 kB / 0.7909 GB, free: 73.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6105, allocations: 0 / 0.7909 GB, free: 73.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.611, allocations: 256.8 kB / 0.7911 GB, free: 73.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.612, allocations: 98.39 kB / 0.7912 GB, free: 73.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.6141, allocations: 1.182 MB / 0.7924 GB, free: 72.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.6146, allocations: 0.8987 MB / 0.7932 GB, free: 71.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.6151, allocations: 91.84 kB / 0.7933 GB, free: 71.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6153, allocations: 42.66 kB / 0.7934 GB, free: 71.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6153, allocations: 0 / 0.7934 GB, free: 71.84 MB / 442.7 MB Notification: Performance of Templates: time 0.01316/0.6284, allocations: 4.182 MB / 0.7974 GB, free: 69.91 MB / 442.7 MB