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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.36 kB / 307 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.005701/0.1695, allocations: 2.627 MB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1718, allocations: 0.6778 MB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1721, allocations: 4 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1723, allocations: 31.64 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1727, allocations: 79.22 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.1731, allocations: 99.84 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007148/0.1739, allocations: 362.7 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.1742, allocations: 90.83 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.1745, allocations: 139.5 kB / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.1748, allocations: 147.4 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1749, allocations: 28 kB / 361.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.175, allocations: 35.94 kB / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1752, allocations: 55.83 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1754, allocations: 159.2 kB / 362 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.176, allocations: 326.9 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.176, allocations: 0 / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.176, allocations: 0 / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.176, allocations: 0 / 362.4 MB, free: 9.203 MB / 302.1 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.001522/0.1776, allocations: 0.631 MB / 363 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.1776, allocations: 12.03 kB / 363 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1778, allocations: 28.66 kB / 363 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1782, allocations: 255.5 kB / 363.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1783, allocations: 106.1 kB / 363.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.1784, allocations: 20.38 kB / 363.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.179, allocations: 261.9 kB / 363.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1791, allocations: 7.938 kB / 363.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1791, allocations: 8 kB / 363.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1791, allocations: 4 kB / 363.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.1797, allocations: 197.6 kB / 363.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1812, allocations: 0.871 MB / 364.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.1818, allocations: 202.6 kB / 364.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.1823, allocations: 132.8 kB / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1823, allocations: 4 kB / 365.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.1829, allocations: 180.8 kB / 365.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.1829, allocations: 4 kB / 365.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001754/0.1846, allocations: 0.4901 MB / 365.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.1847, allocations: 106.8 kB / 365.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.185, allocations: 206.8 kB / 366.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.1851, allocations: 29.7 kB / 366.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1852, allocations: 156.2 kB / 366.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.1853, allocations: 63.09 kB / 366.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1855, allocations: 61.92 kB / 366.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1857, allocations: 326.8 kB / 366.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.1859, allocations: 96.17 kB / 366.8 MB, free: 4.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1863, allocations: 139.8 kB / 366.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.1869, allocations: 243 kB / 367.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1869, allocations: 0 / 367.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008963/0.1878, allocations: 407.3 kB / 367.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.1879, allocations: 66.38 kB / 367.6 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1879, allocations: 4 kB / 367.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.1883, allocations: 112.8 kB / 367.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1886, allocations: 31.98 kB / 367.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.1915, allocations: 2.076 MB / 369.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.1922, allocations: 63.78 kB / 369.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.1923, allocations: 12 kB / 369.9 MB, free: 1.137 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.1925, allocations: 138.9 kB / 370 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.1926, allocations: 27.66 kB / 370.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1926, allocations: 29.86 kB / 370.1 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1926, allocations: 4 kB / 370.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1927, allocations: 0 / 370.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1927, allocations: 0 / 370.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.1935, allocations: 463 kB / 370.5 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1935, allocations: 3.938 kB / 370.6 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1936, allocations: 23.98 kB / 370.6 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.1939, allocations: 104.8 kB / 370.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.194, allocations: 4 kB / 370.7 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2154/0.4094, allocations: 2.067 MB / 372.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4095, allocations: 0 / 372.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/0.4104, allocations: 404 kB / 373.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.4105, allocations: 116 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.4106, allocations: 3.453 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.4108, allocations: 24.34 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4109, allocations: 28.09 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4109, allocations: 5.453 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4111, allocations: 147.9 kB / 373.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4111, allocations: 0 / 373.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.4115, allocations: 88.95 kB / 373.5 MB, free: 18.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.4117, allocations: 115.4 kB / 373.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.4127, allocations: 0.4943 MB / 374.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4127, allocations: 0.9062 kB / 374.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.4132, allocations: 242.3 kB / 374.4 MB, free: 18.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4135, allocations: 62.48 kB / 374.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4147, allocations: 0.5221 MB / 375 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.4149, allocations: 0.754 MB / 375.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.59e-05/0.415, allocations: 18.59 kB / 375.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.415, allocations: 20.86 kB / 375.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.415, allocations: 0 / 375.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01043/0.4255, allocations: 4.79 MB / 380.6 MB, free: 16.94 MB / 302.1 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)