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.00161/0.00161, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001044, allocations: 105.5 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009231/0.0009232, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2058, allocations: 50.46 MB / 407.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003045/0.2089, allocations: 2.667 MB / 409.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.2098, allocations: 0.6829 MB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.21, allocations: 0 / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2101, allocations: 33.27 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2103, allocations: 67.47 kB / 410.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2106, allocations: 83.84 kB / 410.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2108, allocations: 338.7 kB / 410.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.211, allocations: 79.45 kB / 411 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2111, allocations: 127.5 kB / 411.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.2112, allocations: 143.4 kB / 411.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.2113, allocations: 20 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.112e-05/0.2113, allocations: 16 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2114, allocations: 59.69 kB / 411.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2115, allocations: 135.3 kB / 411.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2117, allocations: 318.9 kB / 411.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2117, allocations: 0 / 411.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2117, allocations: 0 / 411.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.2118, allocations: 0 / 411.8 MB, free: 23.09 MB / 298.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.001041/0.2128, allocations: 0.6388 MB / 412.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2128, allocations: 8.031 kB / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.2129, allocations: 32.66 kB / 412.5 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2132, allocations: 244.4 kB / 412.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.2133, allocations: 102.1 kB / 412.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.2133, allocations: 24.38 kB / 412.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.2138, allocations: 253.9 kB / 413.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2138, allocations: 8 kB / 413.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.2138, allocations: 8 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2139, allocations: 4 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.2143, allocations: 197.6 kB / 413.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.2153, allocations: 0.871 MB / 414.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2157, allocations: 202.7 kB / 414.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.216, allocations: 128.8 kB / 414.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.216, allocations: 0 / 414.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.2164, allocations: 188.7 kB / 414.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.2164, allocations: 0 / 414.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001291/0.2177, allocations: 497.9 kB / 415.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2178, allocations: 106.8 kB / 415.3 MB, free: 19.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.2179, allocations: 203 kB / 415.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2179, allocations: 33.7 kB / 415.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.218, allocations: 164.1 kB / 415.7 MB, free: 18.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.218, allocations: 67.09 kB / 415.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.2181, allocations: 49.94 kB / 415.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.2182, allocations: 330.8 kB / 416.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2184, allocations: 96.19 kB / 416.2 MB, free: 18.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2187, allocations: 143.8 kB / 416.3 MB, free: 18.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.2191, allocations: 243.1 kB / 416.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2191, allocations: 4 kB / 416.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006249/0.2197, allocations: 408.9 kB / 417 MB, free: 17.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.2197, allocations: 66.2 kB / 417 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2198, allocations: 0 / 417 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.22, allocations: 112.8 kB / 417.1 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2202, allocations: 27.98 kB / 417.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.2219, allocations: 1.866 MB / 419 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.2223, allocations: 67.88 kB / 419.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2224, allocations: 15.98 kB / 419.1 MB, free: 15.24 MB / 298.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 (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.0001179/0.2225, allocations: 137.8 kB / 419.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2225, allocations: 19.72 kB / 419.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.2226, allocations: 29.86 kB / 419.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2226, allocations: 7.938 kB / 419.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2226, allocations: 4 kB / 419.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2226, allocations: 0 / 419.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.2229, allocations: 447.2 kB / 419.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.223, allocations: 192 / 419.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2231, allocations: 31.91 kB / 419.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.2233, allocations: 116.7 kB / 419.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2234, allocations: 4 kB / 419.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.2248, allocations: 1.87 MB / 421.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2248, allocations: 3.938 kB / 421.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.2294, allocations: 4.195 MB / 426 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.2295, allocations: 112.8 kB / 426.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2295, allocations: 8 kB / 426.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2297, allocations: 23.97 kB / 426.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2298, allocations: 28.09 kB / 426.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2298, allocations: 11.98 kB / 426.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.2299, allocations: 144.4 kB / 426.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2299, allocations: 0 / 426.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005534/0.2305, allocations: 119.8 kB / 426.4 MB, free: 7.441 MB / 298.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) * 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.0001199/0.2306, allocations: 104.8 kB / 426.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.2314, allocations: 0.4919 MB / 427 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2314, allocations: 0 / 427 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.2318, allocations: 246.6 kB / 427.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2322, allocations: 48.28 kB / 427.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2334, allocations: 0.9285 MB / 428.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2335, allocations: 0.7519 MB / 429 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.756e-05/0.2336, allocations: 17.94 kB / 429 MB, free: 4.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.2337, allocations: 15.44 kB / 429 MB, free: 4.711 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2337, allocations: 0 / 429 MB, free: 4.711 MB / 298.7 MB Notification: Performance of Templates: time 0.007377/0.2411, allocations: 5.288 MB / 434.3 MB, free: 15.47 MB / 314.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)