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.001553/0.001553, allocations: 107.1 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2161, allocations: 50.55 MB / 410 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003387/0.2195, allocations: 2.611 MB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2205, allocations: 0.67 MB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.2206, allocations: 4 kB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.2208, allocations: 39.58 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2209, allocations: 79.33 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2212, allocations: 95.81 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.2216, allocations: 370.7 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2217, allocations: 84.92 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2219, allocations: 139.5 kB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2221, allocations: 155.3 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.2222, allocations: 28 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.041e-05/0.2222, allocations: 35.94 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.2223, allocations: 63.75 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2224, allocations: 147.3 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.2228, allocations: 332 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2228, allocations: 0 / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2228, allocations: 0 / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2228, allocations: 0 / 414.8 MB, free: 12.62 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.001021/0.2238, allocations: 0.6388 MB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2239, allocations: 8.031 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.2239, allocations: 32.66 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.2242, allocations: 251.7 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.2243, allocations: 102.1 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.2244, allocations: 20.38 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.2249, allocations: 261.9 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2249, allocations: 0 / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.225, allocations: 15.98 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.225, allocations: 4 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.2255, allocations: 197.6 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2267, allocations: 0.8593 MB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.2272, allocations: 206.7 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.2275, allocations: 124.8 kB / 417.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2276, allocations: 0 / 417.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.2279, allocations: 188.8 kB / 417.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.2279, allocations: 0 / 417.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001421/0.2294, allocations: 494 kB / 418.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2294, allocations: 106.8 kB / 418.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2296, allocations: 214.7 kB / 418.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2297, allocations: 37.64 kB / 418.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.2298, allocations: 148.3 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.2298, allocations: 63.11 kB / 418.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.23, allocations: 57.83 kB / 418.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2301, allocations: 326.8 kB / 419.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.2303, allocations: 100.2 kB / 419.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2306, allocations: 147.8 kB / 419.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.2311, allocations: 242.8 kB / 419.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2312, allocations: 8.031 kB / 419.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007753/0.2319, allocations: 399.4 kB / 420 MB, free: 7.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.232, allocations: 63.39 kB / 420 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.232, allocations: 0 / 420 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.2323, allocations: 112.8 kB / 420.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2325, allocations: 35.91 kB / 420.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.2347, allocations: 2.071 MB / 422.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.2352, allocations: 67.88 kB / 422.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.2353, allocations: 12 kB / 422.3 MB, free: 4.582 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.0001349/0.2354, allocations: 145.7 kB / 422.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.2354, allocations: 19.75 kB / 422.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.2355, allocations: 29.86 kB / 422.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2355, allocations: 4 kB / 422.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2355, allocations: 0 / 422.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.2356, allocations: 120.7 kB / 422.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.2357, allocations: 4 kB / 422.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.2359, allocations: 23.97 kB / 422.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.236, allocations: 27.97 kB / 422.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009492/0.2369, allocations: 460.8 kB / 423.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008117/0.2378, allocations: 0.5506 MB / 423.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002242/0.238, allocations: 91.91 kB / 423.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2381, allocations: 144.6 kB / 423.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2381, allocations: 0 / 423.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2392, allocations: 0.4919 MB / 424.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009945/0.2402, allocations: 0.9846 MB / 425.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Templates: time 0.008193/0.2484, allocations: 4.663 MB / 430 MB, free: 12.73 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)