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.00118/0.00118, allocations: 198.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.6 MB / 234.8 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008355/0.0008352, allocations: 100.2 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.066e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4454, allocations: 79.76 MB / 474.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.4456, allocations: 69.84 kB / 475 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.457, allocations: 4.254 MB / 479.2 MB, free: 9.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.457, allocations: 0 / 479.2 MB, free: 9.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.4571, allocations: 4 kB / 479.3 MB, free: 9.859 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.0007386/0.4578, allocations: 0.586 MB / 479.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4579, allocations: 8.031 kB / 479.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.4579, allocations: 35.7 kB / 479.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.4582, allocations: 247.9 kB / 480.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.4583, allocations: 96.78 kB / 480.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.4583, allocations: 19.61 kB / 480.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002594/0.4586, allocations: 139.7 kB / 480.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.4589, allocations: 195.9 kB / 480.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4589, allocations: 0 / 480.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.4589, allocations: 2.5 kB / 480.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4589, allocations: 11.98 kB / 480.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.46, allocations: 0.8375 MB / 481.4 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4602, allocations: 165.6 kB / 481.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4604, allocations: 96.61 kB / 481.7 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.4604, allocations: 3.984 kB / 481.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.4606, allocations: 155.5 kB / 481.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4607, allocations: 0 / 481.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005061/0.4612, allocations: 247.3 kB / 482.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4612, allocations: 106.8 kB / 482.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4613, allocations: 172.9 kB / 482.3 MB, free: 7.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4614, allocations: 29.7 kB / 482.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4614, allocations: 150.4 kB / 482.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.4615, allocations: 66.78 kB / 482.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.4615, allocations: 4 kB / 482.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.4616, allocations: 332.6 kB / 482.9 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4617, allocations: 74.8 kB / 483 MB, free: 6.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4618, allocations: 104.3 kB / 483.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.4619, allocations: 67.39 kB / 483.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.462, allocations: 0.75 kB / 483.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003928/0.4624, allocations: 281.1 kB / 483.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.4624, allocations: 62.47 kB / 483.5 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4624, allocations: 3.984 kB / 483.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.4627, allocations: 106.6 kB / 483.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4629, allocations: 38.91 kB / 483.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.4644, allocations: 1.803 MB / 485.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.4648, allocations: 59.86 kB / 485.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4648, allocations: 11.56 kB / 485.5 MB, free: 4.145 MB / 346.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 8.113e-05/0.4649, allocations: 113 kB / 485.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.4649, allocations: 23.72 kB / 485.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.465, allocations: 27.39 kB / 485.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.465, allocations: 11.89 kB / 485.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.465, allocations: 1.594 kB / 485.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.465, allocations: 0 / 485.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.4653, allocations: 402.8 kB / 486.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4654, allocations: 4.031 kB / 486.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4655, allocations: 31.97 kB / 486.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.4657, allocations: 106.1 kB / 486.2 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4658, allocations: 7.938 kB / 486.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.4672, allocations: 1.786 MB / 488 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4672, allocations: 4.031 kB / 488 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.4678, allocations: 385.4 kB / 488.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.4679, allocations: 107.7 kB / 488.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4679, allocations: 7.984 kB / 488.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4681, allocations: 19.98 kB / 488.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.4682, allocations: 31.77 kB / 488.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4682, allocations: 11.31 kB / 488.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8e-05/0.4683, allocations: 135.1 kB / 488.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4683, allocations: 0 / 488.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.4687, allocations: 83.84 kB / 488.8 MB, free: 1.121 MB / 346.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.000133/0.4689, allocations: 112 kB / 488.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.4694, allocations: 426.4 kB / 489.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4694, allocations: 4 kB / 489.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.4697, allocations: 211.5 kB / 489.5 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.47, allocations: 37.88 kB / 489.6 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4711, allocations: 360.1 kB / 489.9 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4714, allocations: 0.7555 MB / 490.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.4715, allocations: 25.78 kB / 490.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4716, allocations: 11.44 kB / 490.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4716, allocations: 4 kB / 490.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Templates: time 0.007183/0.4787, allocations: 3.722 MB / 494.4 MB, free: 11.64 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)