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.0008517/0.0008517, allocations: 101.5 kB / 17.01 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009894/0.0009894, allocations: 194.3 kB / 17.91 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.000246, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002782/0.1197, allocations: 2.223 MB / 360.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1211, allocations: 0.6432 MB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.1213, allocations: 4 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1215, allocations: 27.78 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1217, allocations: 63.45 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1221, allocations: 71.91 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1225, allocations: 322.7 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.1228, allocations: 73.09 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.1231, allocations: 111.6 kB / 362.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1233, allocations: 139.4 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.1234, allocations: 16 kB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.505e-05/0.1234, allocations: 16 kB / 362.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1235, allocations: 39.83 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1236, allocations: 73.58 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1239, allocations: 227.6 kB / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1239, allocations: 0 / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1239, allocations: 4 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1239, allocations: 3.938 kB / 362.7 MB, free: 9.383 MB / 302.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.00103/0.1249, allocations: 0.6102 MB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.125, allocations: 8.031 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.1251, allocations: 31.66 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1254, allocations: 250.3 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1255, allocations: 97.55 kB / 363.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1256, allocations: 24 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.1261, allocations: 265.8 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1261, allocations: 0 / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.1262, allocations: 8 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1262, allocations: 8 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.1267, allocations: 213.6 kB / 364.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1281, allocations: 0.8672 MB / 365 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.1286, allocations: 222.7 kB / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.1289, allocations: 128.8 kB / 365.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1289, allocations: 4 kB / 365.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.1293, allocations: 186.4 kB / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/0.1293, allocations: 4 kB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001365/0.1307, allocations: 0.5073 MB / 366.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.1308, allocations: 114.8 kB / 366.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.131, allocations: 210.7 kB / 366.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1311, allocations: 33.7 kB / 366.4 MB, free: 5.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1312, allocations: 152.2 kB / 366.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.1313, allocations: 63.09 kB / 366.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.1313, allocations: 8 kB / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1315, allocations: 330.8 kB / 367 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1318, allocations: 108.2 kB / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1321, allocations: 143.8 kB / 367.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1324, allocations: 152.3 kB / 367.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1324, allocations: 4 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008001/0.1332, allocations: 413.8 kB / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.1333, allocations: 67.39 kB / 367.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1333, allocations: 3.984 kB / 367.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.1337, allocations: 108.7 kB / 367.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1339, allocations: 43.86 kB / 368 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.1363, allocations: 1.866 MB / 369.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.1367, allocations: 79.88 kB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1367, allocations: 11.94 kB / 369.9 MB, free: 1.598 MB / 302.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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.1369, allocations: 141.6 kB / 370.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.137, allocations: 35.64 kB / 370.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.137, allocations: 25.88 kB / 370.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.137, allocations: 4 kB / 370.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1371, allocations: 0 / 370.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1371, allocations: 3.984 kB / 370.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1376, allocations: 455 kB / 370.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1376, allocations: 32 / 370.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1377, allocations: 27.98 kB / 370.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002585/0.138, allocations: 104.7 kB / 370.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.138, allocations: 11.98 kB / 370.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2083/0.3463, allocations: 1.854 MB / 372.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3464, allocations: 0 / 372.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.3473, allocations: 435.8 kB / 373 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.3474, allocations: 110.7 kB / 373.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3474, allocations: 6.547 kB / 373.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3476, allocations: 27.59 kB / 373.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.3477, allocations: 30.27 kB / 373.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3478, allocations: 8.453 kB / 373.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3479, allocations: 143.3 kB / 373.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3479, allocations: 0 / 373.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.3484, allocations: 90.25 kB / 373.4 MB, free: 17.89 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.3485, allocations: 111.9 kB / 373.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.3494, allocations: 0.493 MB / 374 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3494, allocations: 5.672 kB / 374 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.3499, allocations: 247.4 kB / 374.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3502, allocations: 54.5 kB / 374.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.3514, allocations: 0.6327 MB / 375 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3517, allocations: 0.7493 MB / 375.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.905e-05/0.3518, allocations: 19.84 kB / 375.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3518, allocations: 14.91 kB / 375.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3518, allocations: 1.062 kB / 375.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of Templates: time 0.009527/0.3614, allocations: 4.135 MB / 379.9 MB, free: 16.16 MB / 302.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)