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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 218.6 kB / 22.99 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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=99999,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=99999,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2814, allocations: 53.32 MB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004576/0.286, allocations: 2.655 MB / 432.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2876, allocations: 0.6778 MB / 433.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2878, allocations: 11.94 kB / 433.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.288, allocations: 39.64 kB / 433.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.2881, allocations: 71.34 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2884, allocations: 99.73 kB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.2889, allocations: 362.7 kB / 433.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.289, allocations: 66.48 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2892, allocations: 139.5 kB / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.2895, allocations: 155.4 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.636e-05/0.2896, allocations: 28 kB / 434.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.2896, allocations: 32 kB / 434.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.2897, allocations: 59.77 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2899, allocations: 147.3 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2903, allocations: 330.6 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2903, allocations: 4 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2903, allocations: 0 / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2903, allocations: 0 / 434.7 MB, free: 2.828 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.2916, allocations: 0.6425 MB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2916, allocations: 8.031 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.2917, allocations: 36.75 kB / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.292, allocations: 252 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2921, allocations: 102.1 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.2922, allocations: 24.38 kB / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.2927, allocations: 257.9 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2927, allocations: 3.938 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2928, allocations: 7.938 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2928, allocations: 8 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.2933, allocations: 201.6 kB / 436.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2947, allocations: 0.8634 MB / 437 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.2952, allocations: 190.7 kB / 437.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.2955, allocations: 112.9 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.2955, allocations: 4 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.296, allocations: 185.1 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.296, allocations: 0 / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001505/0.2975, allocations: 0.4906 MB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.2975, allocations: 106.8 kB / 438.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2978, allocations: 206.8 kB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.2978, allocations: 33.7 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2979, allocations: 156.2 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.298, allocations: 71.52 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2981, allocations: 53.94 kB / 438.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2983, allocations: 330.8 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.2985, allocations: 92.19 kB / 439 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.2989, allocations: 143.8 kB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.2994, allocations: 246.8 kB / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2994, allocations: 0 / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008328/0.3002, allocations: 403.5 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.3003, allocations: 67.39 kB / 439.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.3003, allocations: 4 kB / 439.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.3006, allocations: 100.7 kB / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3008, allocations: 35.97 kB / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.3034, allocations: 2.08 MB / 442.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.3039, allocations: 79.8 kB / 442.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.304, allocations: 8 kB / 442.2 MB, free: 10.78 MB / 350.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.0001597/0.3041, allocations: 133.8 kB / 442.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.3042, allocations: 31.78 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.3043, allocations: 25.81 kB / 442.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3043, allocations: 4 kB / 442.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3043, allocations: 4 kB / 442.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3043, allocations: 3.984 kB / 442.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.3048, allocations: 447.1 kB / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3048, allocations: 4 kB / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.305, allocations: 23.98 kB / 442.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/0.3053, allocations: 112.8 kB / 443 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3053, allocations: 4 kB / 443 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.3077, allocations: 2.069 MB / 445 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3077, allocations: 0 / 445 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.3086, allocations: 414.5 kB / 445.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3087, allocations: 109 kB / 445.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3087, allocations: 7.984 kB / 445.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3089, allocations: 28.05 kB / 445.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3091, allocations: 27.95 kB / 445.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3091, allocations: 8 kB / 445.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3092, allocations: 144.6 kB / 445.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 445.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.3097, allocations: 95.84 kB / 445.8 MB, free: 6.863 MB / 350.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.0001532/0.3098, allocations: 107.2 kB / 445.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.3108, allocations: 469.3 kB / 446.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3108, allocations: 4 kB / 446.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.3112, allocations: 246.7 kB / 446.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3116, allocations: 50.27 kB / 446.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3127, allocations: 0.5259 MB / 447.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.3131, allocations: 0.7519 MB / 448 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.988e-05/0.3132, allocations: 18.03 kB / 448 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.3132, allocations: 27.38 kB / 448 MB, free: 4.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3132, allocations: 0 / 448 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Templates: time 0.009889/0.3231, allocations: 4.953 MB / 453 MB, free: 15.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.240144927985966]