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.00148/0.00148, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3248, allocations: 50.56 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003607/0.3284, allocations: 2.611 MB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3296, allocations: 0.67 MB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3297, allocations: 7.938 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3299, allocations: 35.64 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3301, allocations: 67.36 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3304, allocations: 99.78 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.3309, allocations: 378.6 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.3311, allocations: 88.91 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3313, allocations: 139.5 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.3315, allocations: 143.4 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.3316, allocations: 32 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.3316, allocations: 32 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.3317, allocations: 67.73 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3319, allocations: 147.2 kB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.3322, allocations: 328 kB / 414.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3322, allocations: 8 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3322, allocations: 0 / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3322, allocations: 0 / 414.8 MB, free: 12.73 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.001119/0.3334, allocations: 0.6349 MB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3334, allocations: 15.97 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.3335, allocations: 32.66 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3339, allocations: 247.8 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.334, allocations: 98.11 kB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.334, allocations: 24.38 kB / 415.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.3345, allocations: 253.9 kB / 416.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3346, allocations: 7.984 kB / 416.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.3346, allocations: 12 kB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3346, allocations: 4 kB / 416.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.3351, allocations: 197.6 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3364, allocations: 0.8554 MB / 417.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.3369, allocations: 206.7 kB / 417.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.3372, allocations: 124.8 kB / 417.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3373, allocations: 4 kB / 417.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.3376, allocations: 181.8 kB / 417.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.3377, allocations: 0 / 417.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001419/0.3391, allocations: 498 kB / 418.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.3392, allocations: 110.8 kB / 418.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3394, allocations: 206.7 kB / 418.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.3394, allocations: 37.73 kB / 418.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.3395, allocations: 148.3 kB / 418.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.3396, allocations: 63.09 kB / 418.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3397, allocations: 61.83 kB / 418.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3398, allocations: 326.8 kB / 419.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.3401, allocations: 100.2 kB / 419.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.3404, allocations: 147.8 kB / 419.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3408, allocations: 242.8 kB / 419.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3408, allocations: 0 / 419.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007745/0.3416, allocations: 403.4 kB / 419.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.3417, allocations: 67.39 kB / 420 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3417, allocations: 0 / 420 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.342, allocations: 112.7 kB / 420.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3422, allocations: 31.97 kB / 420.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.3445, allocations: 2.072 MB / 422.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.345, allocations: 71.78 kB / 422.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.3451, allocations: 8 kB / 422.3 MB, free: 4.695 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.0001426/0.3452, allocations: 141.3 kB / 422.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3452, allocations: 31.73 kB / 422.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.3453, allocations: 29.86 kB / 422.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3453, allocations: 0 / 422.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3453, allocations: 0 / 422.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.3454, allocations: 116.7 kB / 422.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3455, allocations: 8 kB / 422.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3457, allocations: 23.97 kB / 422.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.3458, allocations: 19.97 kB / 422.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000899/0.3467, allocations: 456.7 kB / 423.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007885/0.3475, allocations: 0.5563 MB / 423.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000221/0.3477, allocations: 94.17 kB / 423.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3478, allocations: 140.8 kB / 423.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.3478, allocations: 0 / 423.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3489, allocations: 0.4996 MB / 424.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 0.001099/0.3501, allocations: 0.9884 MB / 425.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Templates: time 0.008276/0.3583, allocations: 4.644 MB / 430 MB, free: 12.86 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)