Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7508/0.7508, allocations: 110.9 MB / 125.9 MB, free: 6.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002089/0.002089, allocations: 138.7 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 184.9 MB, free: 3.91 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03812/0.1493, allocations: 36.99 MB / 247 MB, free: 12.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.1495, allocations: 67.95 kB / 247.1 MB, free: 12.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02015/0.1696, allocations: 7.966 MB / 255.1 MB, free: 4.805 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1697, allocations: 0 / 255.1 MB, free: 4.805 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.1697, allocations: 12 kB / 255.1 MB, free: 4.793 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001084/0.1708, allocations: 0.7753 MB / 255.9 MB, free: 3.969 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1708, allocations: 18.45 kB / 255.9 MB, free: 3.953 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.824e-05/0.1709, allocations: 63.25 kB / 255.9 MB, free: 3.891 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1713, allocations: 346.6 kB / 256.3 MB, free: 3.508 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.1714, allocations: 40.94 kB / 256.3 MB, free: 3.469 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.1715, allocations: 51.89 kB / 256.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.1722, allocations: 474.9 kB / 256.8 MB, free: 2.934 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1722, allocations: 4.203 kB / 256.8 MB, free: 2.93 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.1722, allocations: 24 kB / 256.9 MB, free: 2.906 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1722, allocations: 15.94 kB / 256.9 MB, free: 2.891 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.1728, allocations: 323.8 kB / 257.2 MB, free: 2.574 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1753, allocations: 1.693 MB / 258.9 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1757, allocations: 269 kB / 259.1 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1757, allocations: 0 / 259.1 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1758, allocations: 46.48 kB / 259.2 MB, free: 452 kB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 1.172e-06/0.1758, allocations: 4 kB / 259.2 MB, free: 448 kB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.001732/0.1775, allocations: 0.9459 MB / 260.1 MB, free: 15.42 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1776, allocations: 83.08 kB / 260.2 MB, free: 15.32 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.1779, allocations: 344.8 kB / 260.6 MB, free: 14.98 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.178, allocations: 33.7 kB / 260.6 MB, free: 14.94 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1781, allocations: 291.5 kB / 260.9 MB, free: 14.65 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.1782, allocations: 110.4 kB / 261 MB, free: 14.54 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.1782, allocations: 8 kB / 261 MB, free: 14.53 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1784, allocations: 350.8 kB / 261.3 MB, free: 14.18 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.1786, allocations: 96.83 kB / 261.4 MB, free: 14.09 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1788, allocations: 190.8 kB / 261.6 MB, free: 13.86 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.179, allocations: 122.3 kB / 261.7 MB, free: 13.75 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.179, allocations: 0 / 261.7 MB, free: 13.75 MB / 202.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007377/0.1798, allocations: 450.6 kB / 262.2 MB, free: 13.3 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1798, allocations: 6.5 kB / 262.2 MB, free: 13.29 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1798, allocations: 8.312 kB / 262.2 MB, free: 13.29 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.1801, allocations: 78.53 kB / 262.3 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1804, allocations: 71.91 kB / 262.3 MB, free: 13.13 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.1826, allocations: 2.861 MB / 265.2 MB, free: 10.01 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.1829, allocations: 23.94 kB / 265.2 MB, free: 9.988 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1829, allocations: 16.06 kB / 265.2 MB, free: 9.973 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the left port" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.1832, allocations: 180.9 kB / 265.4 MB, free: 9.789 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.1833, allocations: 47.47 kB / 265.5 MB, free: 9.742 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.1834, allocations: 47.41 kB / 265.5 MB, free: 9.699 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1834, allocations: 4 kB / 265.5 MB, free: 9.695 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1834, allocations: 8 kB / 265.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1834, allocations: 3.984 kB / 265.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.1847, allocations: 0.9263 MB / 266.5 MB, free: 8.695 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1847, allocations: 4 kB / 266.5 MB, free: 8.691 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1849, allocations: 39.97 kB / 266.5 MB, free: 8.652 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/0.1851, allocations: 77.59 kB / 266.6 MB, free: 8.57 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1851, allocations: 8 kB / 266.6 MB, free: 8.562 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1871, allocations: 2.865 MB / 269.4 MB, free: 5.434 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1872, allocations: 4.031 kB / 269.4 MB, free: 5.43 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.188, allocations: 0.6036 MB / 270 MB, free: 4.797 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.1881, allocations: 140.6 kB / 270.2 MB, free: 4.641 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.1882, allocations: 8 kB / 270.2 MB, free: 4.633 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.1885, allocations: 35.97 kB / 270.2 MB, free: 4.598 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.1886, allocations: 23.97 kB / 270.3 MB, free: 4.574 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1886, allocations: 8 kB / 270.3 MB, free: 4.566 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.1889, allocations: 275.2 kB / 270.5 MB, free: 4.297 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1889, allocations: 0 / 270.5 MB, free: 4.297 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.1894, allocations: 116 kB / 270.6 MB, free: 4.184 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.1896, allocations: 111.2 kB / 270.8 MB, free: 4.066 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.1904, allocations: 0.5182 MB / 271.3 MB, free: 3.523 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1904, allocations: 0 / 271.3 MB, free: 3.523 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.191, allocations: 385.4 kB / 271.6 MB, free: 3.121 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.1915, allocations: 92.91 kB / 271.7 MB, free: 3.035 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1929, allocations: 1.158 MB / 272.9 MB, free: 1.848 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1933, allocations: 0.8464 MB / 273.7 MB, free: 0.9727 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.1935, allocations: 43.3 kB / 273.8 MB, free: 0.9258 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.1936, allocations: 31.42 kB / 273.8 MB, free: 0.8945 MB / 202.7 MB Notification: Performance of SimCode: time 3e-07/0.1936, allocations: 0 / 273.8 MB, free: 0.8945 MB / 202.7 MB Notification: Performance of Templates: time 0.007841/0.2014, allocations: 4.417 MB / 278.2 MB, free: 12.51 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)