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.001345/0.001344, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.2 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1362, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.005715/0.142, allocations: 2.627 MB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1439, allocations: 0.6739 MB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.144, allocations: 4 kB / 362.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1443, allocations: 35.59 kB / 362.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1445, allocations: 71.34 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1449, allocations: 107.7 kB / 362.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.1455, allocations: 366.7 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1458, allocations: 94.55 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.146, allocations: 135.5 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.1464, allocations: 155.3 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.1464, allocations: 32 kB / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1465, allocations: 28 kB / 363.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.1466, allocations: 59.77 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.1469, allocations: 155.3 kB / 363.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.1474, allocations: 326.9 kB / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1475, allocations: 0 / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1475, allocations: 0 / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1475, allocations: 0 / 363.7 MB, free: 8.445 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.001497/0.149, allocations: 0.6349 MB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.1491, allocations: 12.03 kB / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1492, allocations: 28.66 kB / 364.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.1497, allocations: 259.5 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.1498, allocations: 106.1 kB / 364.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.1499, allocations: 20.38 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.1507, allocations: 257.9 kB / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1507, allocations: 0 / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.1508, allocations: 8 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1508, allocations: 4 kB / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.1516, allocations: 205.5 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1534, allocations: 0.8593 MB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.1541, allocations: 214.7 kB / 366.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.1546, allocations: 127.2 kB / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1546, allocations: 0 / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/0.1551, allocations: 181.4 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.1552, allocations: 0 / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002098/0.1573, allocations: 0.4917 MB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1574, allocations: 110.8 kB / 367.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.1577, allocations: 206.8 kB / 367.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.1578, allocations: 37.64 kB / 367.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1579, allocations: 152.1 kB / 367.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.158, allocations: 71.09 kB / 367.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1582, allocations: 53.92 kB / 367.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1584, allocations: 326.8 kB / 368 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.1588, allocations: 100.2 kB / 368.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.1592, allocations: 135.8 kB / 368.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.1599, allocations: 247 kB / 368.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1599, allocations: 4 kB / 368.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001075/0.161, allocations: 407.3 kB / 368.9 MB, free: 2.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.1611, allocations: 59.41 kB / 369 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1611, allocations: 0 / 369 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.1616, allocations: 108.8 kB / 369.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1618, allocations: 35.92 kB / 369.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.1653, allocations: 2.068 MB / 371.2 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.166, allocations: 63.78 kB / 371.2 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.1661, allocations: 16.06 kB / 371.3 MB, free: 392 kB / 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.0003836/0.1665, allocations: 146.8 kB / 371.4 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.1666, allocations: 23.66 kB / 371.4 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.1667, allocations: 29.86 kB / 371.5 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.1667, allocations: 4 kB / 371.5 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1667, allocations: 4.125 kB / 371.5 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1667, allocations: 0 / 371.5 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.269/0.4357, allocations: 450 kB / 371.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4357, allocations: 0.7812 kB / 371.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.436, allocations: 29.14 kB / 371.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.4363, allocations: 104.3 kB / 372 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4364, allocations: 6.406 kB / 372 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.4384, allocations: 2.069 MB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4384, allocations: 1.969 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.4394, allocations: 401.8 kB / 374.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4395, allocations: 116.1 kB / 374.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.4396, allocations: 10.7 kB / 374.6 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.4398, allocations: 22.81 kB / 374.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4399, allocations: 27.72 kB / 374.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.44, allocations: 5.234 kB / 374.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4401, allocations: 145.8 kB / 374.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4401, allocations: 0 / 374.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005646/0.4407, allocations: 90.88 kB / 374.9 MB, free: 18.33 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.0002029/0.4409, allocations: 108.4 kB / 375 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4421, allocations: 495 kB / 375.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4421, allocations: 7.5 kB / 375.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.4427, allocations: 238.5 kB / 375.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.4431, allocations: 59.02 kB / 375.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.4446, allocations: 0.527 MB / 376.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4449, allocations: 0.7519 MB / 377.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.445, allocations: 13.61 kB / 377.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.4451, allocations: 16.45 kB / 377.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4451, allocations: 0 / 377.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01217/0.4573, allocations: 4.799 MB / 381.9 MB, free: 16.48 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 -s cvode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1)