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.00187/0.00187, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.002168/0.002168, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.613/1.613, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001865/0.001865, allocations: 67.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1175, allocations: 53.33 MB / 427.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004266/0.1217, allocations: 2.629 MB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1232, allocations: 0.6739 MB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1233, allocations: 4 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1235, allocations: 39.58 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1237, allocations: 79.33 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.124, allocations: 95.75 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.1245, allocations: 370.7 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1247, allocations: 64.89 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1249, allocations: 147.5 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1251, allocations: 147.4 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.1252, allocations: 32 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.1253, allocations: 28 kB / 431.5 MB, free: 164 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.1253, allocations: 63.7 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2356/0.3609, allocations: 140.1 kB / 431.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.3616, allocations: 329.8 kB / 432 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3616, allocations: 0 / 432 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3616, allocations: 0 / 432 MB, free: 8.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3616, allocations: 0 / 432 MB, free: 8.547 MB / 350.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.001149/0.3628, allocations: 0.6504 MB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3628, allocations: 9.219 kB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.3629, allocations: 35.12 kB / 432.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.3633, allocations: 250 kB / 432.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.3633, allocations: 102.9 kB / 433 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.3634, allocations: 20.59 kB / 433 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.3639, allocations: 259.8 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3639, allocations: 1.25 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.364, allocations: 10.64 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.364, allocations: 5.125 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.3645, allocations: 195.6 kB / 433.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3657, allocations: 0.8601 MB / 434.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3662, allocations: 201.7 kB / 434.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.3665, allocations: 107.1 kB / 434.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3665, allocations: 7.297 kB / 434.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.3669, allocations: 187.3 kB / 434.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3669, allocations: 0 / 434.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001521/0.3684, allocations: 489 kB / 435.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3685, allocations: 111.3 kB / 435.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3687, allocations: 204.8 kB / 435.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3687, allocations: 33.05 kB / 435.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3689, allocations: 158.4 kB / 435.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.3689, allocations: 65.44 kB / 435.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3691, allocations: 57.41 kB / 435.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.3691, allocations: 331.7 kB / 436.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3694, allocations: 94.45 kB / 436.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.3698, allocations: 148.6 kB / 436.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.3703, allocations: 243.9 kB / 436.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3703, allocations: 0 / 436.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008397/0.3711, allocations: 405.8 kB / 437.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.3712, allocations: 66.66 kB / 437.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3712, allocations: 0 / 437.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.3715, allocations: 107.5 kB / 437.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3717, allocations: 33.23 kB / 437.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.3739, allocations: 2.083 MB / 439.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.3745, allocations: 67.47 kB / 439.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3745, allocations: 8.062 kB / 439.5 MB, free: 4.355 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.000201/0.3747, allocations: 139.7 kB / 439.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.3748, allocations: 32.16 kB / 439.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.3748, allocations: 26.42 kB / 439.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3748, allocations: 3.156 kB / 439.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3748, allocations: 4.219 kB / 439.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3748, allocations: 1.359 kB / 439.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.3755, allocations: 452.6 kB / 440.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3755, allocations: 0.6562 kB / 440.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3757, allocations: 29.17 kB / 440.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/0.376, allocations: 103.3 kB / 440.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.376, allocations: 6.922 kB / 440.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.3781, allocations: 2.074 MB / 442.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3781, allocations: 0.7031 kB / 442.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.379, allocations: 404.7 kB / 442.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.3791, allocations: 109 kB / 442.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3791, allocations: 6.953 kB / 442.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3793, allocations: 23.86 kB / 442.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3794, allocations: 26.33 kB / 442.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3794, allocations: 8.469 kB / 442.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3796, allocations: 149.2 kB / 443.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 443.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.38, allocations: 90.5 kB / 443.2 MB, free: 1.605 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.0001314/0.3802, allocations: 109 kB / 443.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.3811, allocations: 485.9 kB / 443.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3811, allocations: 0 / 443.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.3816, allocations: 237.8 kB / 444 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.382, allocations: 57.98 kB / 444 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3831, allocations: 0.5275 MB / 444.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3833, allocations: 0.7521 MB / 445.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3835, allocations: 17.39 kB / 445.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.3835, allocations: 16.92 kB / 445.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3835, allocations: 4 kB / 445.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01187/0.3954, allocations: 4.855 MB / 450.2 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.440269242040813]