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.001329/0.001329, allocations: 112.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 206 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004113/0.2903, allocations: 2.626 MB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2915, allocations: 0.6661 MB / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2917, allocations: 4 kB / 412.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2918, allocations: 43.58 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.292, allocations: 71.34 kB / 412.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.2923, allocations: 91.81 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.2928, allocations: 378.7 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.293, allocations: 84.92 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2931, allocations: 143.5 kB / 413.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.2933, allocations: 155.3 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.2934, allocations: 28 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.2935, allocations: 32 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.2935, allocations: 59.77 kB / 413.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2937, allocations: 147.3 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.2942, allocations: 332 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2942, allocations: 0 / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2942, allocations: 4 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2942, allocations: 0 / 414.1 MB, free: 12.75 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.001254/0.2955, allocations: 0.6349 MB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2955, allocations: 12.03 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.2956, allocations: 36.59 kB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.296, allocations: 247.8 kB / 415 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.2962, allocations: 102.1 kB / 415.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.2962, allocations: 28.36 kB / 415.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2968, allocations: 249.9 kB / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2968, allocations: 3.938 kB / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2968, allocations: 16 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2969, allocations: 4 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.2974, allocations: 197.6 kB / 415.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2987, allocations: 0.8632 MB / 416.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.2991, allocations: 213.5 kB / 416.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.2994, allocations: 120.8 kB / 416.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2994, allocations: 0 / 416.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.2998, allocations: 180.8 kB / 417 MB, free: 9.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.2998, allocations: 4 kB / 417 MB, free: 9.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001382/0.3012, allocations: 497.8 kB / 417.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.3013, allocations: 110.8 kB / 417.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3015, allocations: 206.7 kB / 417.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3016, allocations: 37.73 kB / 417.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3017, allocations: 152.3 kB / 418 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.3017, allocations: 67.08 kB / 418 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3018, allocations: 53.84 kB / 418.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.302, allocations: 326.8 kB / 418.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.3023, allocations: 100.2 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.3025, allocations: 147.8 kB / 418.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.3031, allocations: 242.8 kB / 418.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3031, allocations: 0 / 418.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007397/0.3038, allocations: 403.4 kB / 419.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.3039, allocations: 63.41 kB / 419.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3039, allocations: 0 / 419.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.3042, allocations: 112.8 kB / 419.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3044, allocations: 31.92 kB / 419.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.3068, allocations: 2.072 MB / 421.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.3072, allocations: 67.88 kB / 421.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3073, allocations: 8 kB / 421.6 MB, free: 4.707 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.0001559/0.3074, allocations: 145.7 kB / 421.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.3075, allocations: 23.75 kB / 421.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.3075, allocations: 29.86 kB / 421.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3075, allocations: 0 / 421.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3075, allocations: 0 / 421.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3076, allocations: 11.92 kB / 421.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.308, allocations: 451 kB / 422.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.308, allocations: 0 / 422.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.3082, allocations: 31.92 kB / 422.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.3085, allocations: 104.8 kB / 422.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3085, allocations: 11.98 kB / 422.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.3106, allocations: 2.076 MB / 424.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3106, allocations: 0 / 424.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.3114, allocations: 402.3 kB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.3115, allocations: 113 kB / 425 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3115, allocations: 8 kB / 425 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3117, allocations: 23.97 kB / 425 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.3118, allocations: 31.86 kB / 425.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3119, allocations: 15.97 kB / 425.1 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.312, allocations: 144.6 kB / 425.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.312, allocations: 0 / 425.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.3124, allocations: 87.84 kB / 425.3 MB, free: 0.7734 MB / 334.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.0001318/0.3125, allocations: 107.2 kB / 425.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.3134, allocations: 0.4896 MB / 425.9 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3134, allocations: 0 / 425.9 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.3139, allocations: 246.7 kB / 426.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3142, allocations: 48.06 kB / 426.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3152, allocations: 0.5322 MB / 426.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3156, allocations: 0.748 MB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.3157, allocations: 18.05 kB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.3157, allocations: 23.38 kB / 427.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3157, allocations: 0 / 427.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Templates: time 0.00866/0.3244, allocations: 4.823 MB / 432.3 MB, free: 9.672 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)