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.001444/0.001444, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3655, allocations: 50.55 MB / 409.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004545/0.3701, allocations: 2.614 MB / 411.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3715, allocations: 0.6778 MB / 412.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3717, allocations: 4 kB / 412.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.3719, allocations: 35.64 kB / 412.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.372, allocations: 83.28 kB / 412.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.3724, allocations: 87.86 kB / 412.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.3728, allocations: 374.6 kB / 413.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3731, allocations: 88.92 kB / 413.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3733, allocations: 135.5 kB / 413.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3736, allocations: 151.4 kB / 413.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.3736, allocations: 32 kB / 413.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.315e-05/0.3737, allocations: 32 kB / 413.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.3738, allocations: 71.67 kB / 413.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.374, allocations: 143.3 kB / 413.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.3744, allocations: 328.2 kB / 414.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3745, allocations: 0 / 414.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3745, allocations: 4 kB / 414.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3745, allocations: 0 / 414.1 MB, free: 12.89 MB / 334.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.001231/0.3757, allocations: 0.6349 MB / 414.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3758, allocations: 8.031 kB / 414.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.3759, allocations: 32.66 kB / 414.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3763, allocations: 251.8 kB / 415 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.3764, allocations: 106 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.3764, allocations: 20.38 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.377, allocations: 257.9 kB / 415.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.377, allocations: 7.938 kB / 415.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3771, allocations: 7.984 kB / 415.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3771, allocations: 4 kB / 415.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.3776, allocations: 209.6 kB / 415.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.379, allocations: 0.8515 MB / 416.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.3796, allocations: 202.7 kB / 416.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3799, allocations: 128.7 kB / 416.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3799, allocations: 8 kB / 416.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.3803, allocations: 180.8 kB / 417 MB, free: 9.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.814e-06/0.3803, allocations: 0 / 417 MB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001572/0.3819, allocations: 497.8 kB / 417.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.382, allocations: 110.8 kB / 417.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.3823, allocations: 210.7 kB / 417.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.3823, allocations: 33.7 kB / 417.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3825, allocations: 148.2 kB / 417.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.3825, allocations: 63.11 kB / 418 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3826, allocations: 65.86 kB / 418.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3828, allocations: 326.8 kB / 418.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.3832, allocations: 100.2 kB / 418.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3835, allocations: 143.8 kB / 418.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.384, allocations: 238.9 kB / 418.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3841, allocations: 0 / 418.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008506/0.3849, allocations: 403.4 kB / 419.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.385, allocations: 70.27 kB / 419.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.385, allocations: 0 / 419.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.3854, allocations: 112.7 kB / 419.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.3856, allocations: 31.97 kB / 419.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.3882, allocations: 2.076 MB / 421.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.3887, allocations: 67.84 kB / 421.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3888, allocations: 12 kB / 421.6 MB, free: 4.848 MB / 334.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.0002034/0.389, allocations: 133.8 kB / 421.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.3891, allocations: 23.75 kB / 421.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.3891, allocations: 29.86 kB / 421.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3892, allocations: 7.938 kB / 421.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.3892, allocations: 0 / 421.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3892, allocations: 4 kB / 421.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.3898, allocations: 455 kB / 422.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3898, allocations: 0 / 422.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.39, allocations: 27.97 kB / 422.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.3903, allocations: 108.8 kB / 422.4 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.3903, allocations: 8 kB / 422.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.3928, allocations: 2.076 MB / 424.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3928, allocations: 0 / 424.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.3938, allocations: 406.3 kB / 424.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3939, allocations: 112.8 kB / 425 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.394, allocations: 4 kB / 425 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3942, allocations: 28.03 kB / 425 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3944, allocations: 31.92 kB / 425.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3944, allocations: 4 kB / 425.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3946, allocations: 148.6 kB / 425.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3946, allocations: 0 / 425.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.3951, allocations: 91.84 kB / 425.3 MB, free: 0.9258 MB / 334.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.0002268/0.3954, allocations: 110.4 kB / 425.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3965, allocations: 497.3 kB / 425.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3965, allocations: 0 / 425.9 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.397, allocations: 249.2 kB / 426.1 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3975, allocations: 60.17 kB / 426.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3987, allocations: 0.5266 MB / 426.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.399, allocations: 0.7557 MB / 427.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.3991, allocations: 18.05 kB / 427.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3992, allocations: 19.38 kB / 427.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3992, allocations: 0 / 427.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.4093, allocations: 4.816 MB / 432.3 MB, free: 9.816 MB / 350.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)