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.0009449/0.0009449, allocations: 94.2 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 247.5 MB, free: 9.449 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 4 kB / 308.4 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09619, allocations: 51.52 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.003007/0.09925, allocations: 2.304 MB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1007, allocations: 0.6858 MB / 362.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1009, allocations: 4 kB / 362.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.101, allocations: 23.77 kB / 362.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1013, allocations: 63.48 kB / 363 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1016, allocations: 87.83 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.102, allocations: 330.7 kB / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1022, allocations: 77.62 kB / 363.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1024, allocations: 127.5 kB / 363.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1026, allocations: 127.4 kB / 363.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.1027, allocations: 16 kB / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.1027, allocations: 20 kB / 363.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1028, allocations: 51.75 kB / 363.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.103, allocations: 157 kB / 364 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1032, allocations: 235.3 kB / 364.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1032, allocations: 3.938 kB / 364.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1032, allocations: 0 / 364.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1032, allocations: 0 / 364.2 MB, free: 8.688 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.001004/0.1042, allocations: 0.596 MB / 364.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1043, allocations: 8.031 kB / 364.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.1044, allocations: 32.66 kB / 364.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1047, allocations: 255.5 kB / 365.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.1048, allocations: 102.1 kB / 365.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.1049, allocations: 24.38 kB / 365.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.1054, allocations: 257.9 kB / 365.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1054, allocations: 0 / 365.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1054, allocations: 15.94 kB / 365.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1055, allocations: 8 kB / 365.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.106, allocations: 209.6 kB / 365.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1073, allocations: 0.871 MB / 366.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.1078, allocations: 222.7 kB / 366.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1081, allocations: 132.8 kB / 366.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1082, allocations: 4 kB / 366.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.1086, allocations: 187.8 kB / 367.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.1086, allocations: 4 kB / 367.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001481/0.1101, allocations: 0.5136 MB / 367.6 MB, free: 5.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1101, allocations: 106.8 kB / 367.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1104, allocations: 210.7 kB / 367.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1104, allocations: 37.64 kB / 368 MB, free: 4.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1105, allocations: 148.3 kB / 368.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.1106, allocations: 75.03 kB / 368.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.1106, allocations: 29.7 kB / 368.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1108, allocations: 330.8 kB / 368.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1111, allocations: 108.2 kB / 368.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1114, allocations: 147.8 kB / 368.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.1119, allocations: 264.7 kB / 369 MB, free: 3.496 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1119, allocations: 0 / 369 MB, free: 3.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008122/0.1127, allocations: 415.6 kB / 369.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.1128, allocations: 63.39 kB / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1128, allocations: 4 kB / 369.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.1132, allocations: 104.9 kB / 369.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1133, allocations: 39.91 kB / 369.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.1156, allocations: 1.874 MB / 371.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.1161, allocations: 79.75 kB / 371.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1162, allocations: 12 kB / 371.6 MB, free: 0.75 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 (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.0001641/0.1163, allocations: 150.8 kB / 371.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.1164, allocations: 15.81 kB / 371.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.1165, allocations: 29.86 kB / 371.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1165, allocations: 7.938 kB / 371.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1165, allocations: 0 / 371.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1165, allocations: 0 / 371.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1169, allocations: 451.4 kB / 372.3 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.117, allocations: 0 / 372.3 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1171, allocations: 39.8 kB / 372.3 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1838/0.3009, allocations: 98.05 kB / 372.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.301, allocations: 4.75 kB / 372.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.3031, allocations: 1.865 MB / 374.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3031, allocations: 4.938 kB / 374.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3041, allocations: 423.8 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3043, allocations: 114.8 kB / 374.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.3043, allocations: 11.75 kB / 374.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3046, allocations: 29.36 kB / 374.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3047, allocations: 25 kB / 374.9 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3047, allocations: 9.297 kB / 374.9 MB, free: 17.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3048, allocations: 144.2 kB / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.3049, allocations: 3.031 kB / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.3053, allocations: 93.05 kB / 375.1 MB, free: 17.52 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 (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.000127/0.3055, allocations: 106.8 kB / 375.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009788/0.3064, allocations: 0.4967 MB / 375.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3065, allocations: 0.5312 kB / 375.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3069, allocations: 252.6 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3073, allocations: 56.25 kB / 376 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3085, allocations: 0.6792 MB / 376.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3088, allocations: 0.7489 MB / 377.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.3088, allocations: 17.03 kB / 377.4 MB, free: 16 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3089, allocations: 4 kB / 377.4 MB, free: 16 MB / 302.1 MB Notification: Performance of Templates: time 0.007925/0.3168, allocations: 4.075 MB / 381.5 MB, free: 15.75 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)