Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008232/0.0008232, allocations: 102.7 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002257, allocations: 7.984 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1789, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08333/0.2622, allocations: 80.49 MB / 489.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.2625, allocations: 71.95 kB / 490 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.2744, allocations: 4.299 MB / 494.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2744, allocations: 0 / 494.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.2744, allocations: 4 kB / 494.3 MB, free: 5.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008415/0.2753, allocations: 0.6002 MB / 494.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2753, allocations: 12.03 kB / 494.9 MB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2754, allocations: 31.62 kB / 494.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2757, allocations: 238.8 kB / 495.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/0.2758, allocations: 109.5 kB / 495.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2758, allocations: 24 kB / 495.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.2763, allocations: 253.8 kB / 495.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2763, allocations: 4 kB / 495.5 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2764, allocations: 8 kB / 495.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2764, allocations: 12 kB / 495.6 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.2769, allocations: 205.6 kB / 495.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2781, allocations: 0.8983 MB / 496.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.2786, allocations: 222.6 kB / 496.9 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2786, allocations: 8 kB / 496.9 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/0.279, allocations: 186.2 kB / 497.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.279, allocations: 0 / 497.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001499/0.2805, allocations: 0.5519 MB / 497.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.2806, allocations: 89.05 kB / 497.7 MB, free: 2.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2808, allocations: 182.2 kB / 497.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2808, allocations: 33.7 kB / 497.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.2809, allocations: 152.2 kB / 498.1 MB, free: 1.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.281, allocations: 67.09 kB / 498.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.281, allocations: 0 / 498.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2811, allocations: 338.8 kB / 498.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.2814, allocations: 104.1 kB / 498.6 MB, free: 1.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2817, allocations: 147 kB / 498.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2819, allocations: 151.4 kB / 498.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2819, allocations: 0 / 498.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008565/0.2828, allocations: 441.9 kB / 499.3 MB, free: 432 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.2829, allocations: 67.36 kB / 499.4 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2829, allocations: 0 / 499.4 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.2832, allocations: 112.8 kB / 499.5 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.2834, allocations: 35.98 kB / 499.5 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.2854, allocations: 1.896 MB / 0.4896 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.2858, allocations: 59.83 kB / 0.4897 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2859, allocations: 16.16 kB / 0.4897 GB, free: 14.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dcPowerSupply.cp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.286, allocations: 145.7 kB / 0.4899 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.2861, allocations: 27.72 kB / 0.4899 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.2861, allocations: 21.88 kB / 0.4899 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2861, allocations: 3.938 kB / 0.4899 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2861, allocations: 0 / 0.4899 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2861, allocations: 3.984 kB / 0.4899 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.2864, allocations: 301.4 kB / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2864, allocations: 4 kB / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.2866, allocations: 35.97 kB / 0.4902 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.2869, allocations: 104.7 kB / 0.4903 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2869, allocations: 12 kB / 0.4903 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.2888, allocations: 1.89 MB / 0.4922 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2888, allocations: 4.031 kB / 0.4922 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2898, allocations: 476.2 kB / 0.4926 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2899, allocations: 108.8 kB / 0.4928 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.29, allocations: 4 kB / 0.4928 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2902, allocations: 31.97 kB / 0.4928 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.2903, allocations: 23.95 kB / 0.4928 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2903, allocations: 4.281 kB / 0.4928 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2904, allocations: 152.5 kB / 0.493 GB, free: 10.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2904, allocations: 0 / 0.493 GB, free: 10.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.2909, allocations: 95.78 kB / 0.493 GB, free: 10.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.291, allocations: 115.2 kB / 0.4932 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009303/0.292, allocations: 0.4904 MB / 0.4936 GB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.292, allocations: 0 / 0.4936 GB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.2925, allocations: 266.5 kB / 0.4939 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2928, allocations: 42.16 kB / 0.4939 GB, free: 9.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2942, allocations: 0.6427 MB / 0.4946 GB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2946, allocations: 0.756 MB / 0.4953 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.372e-05/0.2947, allocations: 9.953 kB / 0.4953 GB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.2948, allocations: 15.44 kB / 0.4953 GB, free: 8 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2948, allocations: 4 kB / 0.4953 GB, free: 7.996 MB / 378.7 MB Notification: Performance of Templates: time 0.008083/0.3029, allocations: 4.131 MB / 0.4994 GB, free: 3.906 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1)