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.00135/0.00135, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009397/0.0009396, allocations: 90.81 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.596e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09413, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/0.4032, allocations: 80.42 MB / 482.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4034, allocations: 72.48 kB / 482.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01153/0.4149, allocations: 4.286 MB / 486.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.415, allocations: 192 / 486.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.415, allocations: 8 kB / 486.8 MB, free: 5.398 MB / 346.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.0006921/0.4157, allocations: 0.5842 MB / 487.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4158, allocations: 8.031 kB / 487.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.4158, allocations: 27.72 kB / 487.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.4161, allocations: 259.3 kB / 487.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.4162, allocations: 104.2 kB / 487.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.4162, allocations: 23 kB / 487.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.4166, allocations: 224.6 kB / 488 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4166, allocations: 3.938 kB / 488 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4166, allocations: 14.44 kB / 488.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4166, allocations: 4 kB / 488.1 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.4169, allocations: 156.4 kB / 488.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.418, allocations: 0.8857 MB / 489.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.4183, allocations: 171.9 kB / 489.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.4185, allocations: 99.42 kB / 489.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4185, allocations: 8 kB / 489.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.4187, allocations: 165.3 kB / 489.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.4187, allocations: 0 / 489.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005533/0.4193, allocations: 264.3 kB / 489.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.4193, allocations: 110.7 kB / 489.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4195, allocations: 188.8 kB / 490.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4195, allocations: 32.95 kB / 490.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.4196, allocations: 147.6 kB / 490.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.4196, allocations: 61.97 kB / 490.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.4196, allocations: 9.75 kB / 490.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.4197, allocations: 330.2 kB / 490.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4198, allocations: 84.56 kB / 490.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.42, allocations: 108.5 kB / 490.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.4201, allocations: 127.7 kB / 491 MB, free: 1.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4202, allocations: 4 kB / 491 MB, free: 1.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000458/0.4206, allocations: 367.2 kB / 491.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.4207, allocations: 67.89 kB / 491.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4207, allocations: 0 / 491.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.421, allocations: 108.9 kB / 491.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4211, allocations: 39.92 kB / 491.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.423, allocations: 1.862 MB / 493.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.4234, allocations: 67.39 kB / 493.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.4234, allocations: 11.98 kB / 493.5 MB, free: 15.32 MB / 362.7 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 ($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 () * 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.0001056/0.4235, allocations: 117.4 kB / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4236, allocations: 23.97 kB / 493.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.4237, allocations: 29.61 kB / 493.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.4237, allocations: 5.609 kB / 493.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.4237, allocations: 4 kB / 493.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4237, allocations: 4 kB / 493.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.4241, allocations: 447 kB / 494.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4242, allocations: 3.984 kB / 494.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4243, allocations: 34.31 kB / 494.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.4246, allocations: 104.8 kB / 494.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4246, allocations: 4 kB / 494.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.4266, allocations: 1.851 MB / 496.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4266, allocations: 4.031 kB / 496.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.4274, allocations: 401.1 kB / 496.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4275, allocations: 113.7 kB / 496.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.4275, allocations: 8.938 kB / 496.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.4277, allocations: 32.03 kB / 496.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4279, allocations: 31.91 kB / 496.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4279, allocations: 8 kB / 496.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.428, allocations: 151.5 kB / 496.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.428, allocations: 0 / 496.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004381/0.4285, allocations: 91.84 kB / 496.9 MB, free: 11.66 MB / 362.7 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) * 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.0002012/0.4287, allocations: 115.2 kB / 497 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.4294, allocations: 437.8 kB / 497.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4295, allocations: 0 / 497.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.4298, allocations: 227.8 kB / 497.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.4301, allocations: 54.62 kB / 497.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4314, allocations: 375.2 kB / 498.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4317, allocations: 0.7521 MB / 498.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.077e-05/0.4318, allocations: 18.08 kB / 498.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.4318, allocations: 15.44 kB / 498.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4318, allocations: 0 / 498.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of Templates: time 0.007669/0.4395, allocations: 4.136 MB / 0.4912 GB, free: 5.574 MB / 362.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)