Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 195.2 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008447/0.0008447, allocations: 103.8 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003299, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002304/0.3129, allocations: 2.222 MB / 414.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3141, allocations: 0.9699 MB / 415.2 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.3143, allocations: 7.938 kB / 415.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3144, allocations: 27.77 kB / 415.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.3146, allocations: 55.11 kB / 415.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3149, allocations: 91.83 kB / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.3152, allocations: 334.7 kB / 415.8 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.3154, allocations: 78.91 kB / 415.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3155, allocations: 119.5 kB / 415.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3157, allocations: 135.4 kB / 416.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.3158, allocations: 16 kB / 416.1 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.3158, allocations: 16 kB / 416.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.3159, allocations: 55.75 kB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.316, allocations: 153 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3163, allocations: 306.8 kB / 416.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3163, allocations: 0 / 416.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3163, allocations: 0 / 416.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3163, allocations: 0 / 416.6 MB, free: 21.27 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.0008788/0.3172, allocations: 0.5883 MB / 417.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3173, allocations: 16.02 kB / 417.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.3173, allocations: 32.56 kB / 417.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3176, allocations: 260.1 kB / 417.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.3177, allocations: 98.11 kB / 417.6 MB, free: 20.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.3177, allocations: 24.38 kB / 417.6 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3182, allocations: 261.9 kB / 417.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3182, allocations: 0 / 417.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3182, allocations: 8 kB / 417.9 MB, free: 19.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3182, allocations: 4 kB / 417.9 MB, free: 19.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.3187, allocations: 221.6 kB / 418.1 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3199, allocations: 0.8671 MB / 419 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.3203, allocations: 218.7 kB / 419.2 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.3206, allocations: 128.8 kB / 419.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3206, allocations: 0 / 419.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003567/0.321, allocations: 188.6 kB / 419.5 MB, free: 18.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.321, allocations: 7.875 kB / 419.5 MB, free: 18.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001298/0.3223, allocations: 0.5166 MB / 420 MB, free: 17.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3224, allocations: 106.8 kB / 420.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3226, allocations: 202.9 kB / 420.3 MB, free: 17.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3226, allocations: 33.7 kB / 420.4 MB, free: 17.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.3227, allocations: 160.2 kB / 420.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.3227, allocations: 59.11 kB / 420.6 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.3228, allocations: 8 kB / 420.6 MB, free: 17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3229, allocations: 334.8 kB / 420.9 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.3231, allocations: 104.2 kB / 421 MB, free: 16.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3234, allocations: 145.2 kB / 421.1 MB, free: 16.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.3238, allocations: 262.3 kB / 421.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3238, allocations: 4 kB / 421.4 MB, free: 16.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006732/0.3245, allocations: 415.6 kB / 421.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.3245, allocations: 59.41 kB / 421.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3245, allocations: 7.969 kB / 421.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3249, allocations: 108.8 kB / 422 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3251, allocations: 31.92 kB / 422 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.3269, allocations: 1.871 MB / 423.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.3273, allocations: 79.88 kB / 424 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3274, allocations: 15.98 kB / 424 MB, free: 13.39 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 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dcPowerSupply.cp) * 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.0001347/0.3275, allocations: 141.7 kB / 424.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.3276, allocations: 23.72 kB / 424.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.3276, allocations: 26.06 kB / 424.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3276, allocations: 7.922 kB / 424.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3276, allocations: 7.938 kB / 424.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3276, allocations: 0 / 424.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.328, allocations: 447.1 kB / 424.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.328, allocations: 0 / 424.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3282, allocations: 35.94 kB / 424.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.3284, allocations: 112.7 kB / 424.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3285, allocations: 0 / 424.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.33, allocations: 1.87 MB / 426.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.33, allocations: 3.938 kB / 426.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.3308, allocations: 422.5 kB / 427.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.3309, allocations: 108.9 kB / 427.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.331, allocations: 8 kB / 427.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3312, allocations: 35.97 kB / 427.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3313, allocations: 23.97 kB / 427.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3314, allocations: 7.984 kB / 427.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3315, allocations: 148.4 kB / 427.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3315, allocations: 0 / 427.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.3319, allocations: 91.84 kB / 427.5 MB, free: 9.656 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.0001864/0.3321, allocations: 115.2 kB / 427.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.3331, allocations: 0.5028 MB / 428.1 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3331, allocations: 4 kB / 428.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.3335, allocations: 246.5 kB / 428.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.334, allocations: 60.16 kB / 428.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3351, allocations: 0.6438 MB / 429 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3353, allocations: 0.7443 MB / 429.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.301e-05/0.3354, allocations: 21.94 kB / 429.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.3354, allocations: 15.44 kB / 429.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.3354, allocations: 0 / 429.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of Templates: time 0.008186/0.3436, allocations: 4.289 MB / 434.1 MB, free: 2.934 MB / 298.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)