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.001244/0.001244, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 200.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002671/0.1279, allocations: 2.137 MB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1291, allocations: 0.6627 MB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1292, allocations: 4 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.1293, allocations: 27.77 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1295, allocations: 79.75 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1298, allocations: 75.91 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1301, allocations: 223.5 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1303, allocations: 77.05 kB / 361.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1304, allocations: 119.7 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1306, allocations: 131.4 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.1307, allocations: 16 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-05/0.1307, allocations: 16 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.1308, allocations: 43.81 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.1308, allocations: 69.58 kB / 361.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1311, allocations: 235.6 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1311, allocations: 0 / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1312, allocations: 4 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1312, allocations: 0 / 362 MB, free: 10.01 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.001068/0.1322, allocations: 0.6022 MB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.1323, allocations: 8.031 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.1324, allocations: 31.7 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.1329, allocations: 246.3 kB / 362.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.1331, allocations: 101.5 kB / 362.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1331, allocations: 27.95 kB / 363 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1339, allocations: 257.8 kB / 363.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1339, allocations: 0 / 363.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.134, allocations: 12 kB / 363.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.134, allocations: 4 kB / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.1345, allocations: 209.6 kB / 363.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1361, allocations: 0.8672 MB / 364.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.1366, allocations: 222.7 kB / 364.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1366, allocations: 0 / 364.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.1371, allocations: 185.5 kB / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.1371, allocations: 0 / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00168/0.1388, allocations: 0.5131 MB / 365.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.1389, allocations: 89.05 kB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1392, allocations: 206.8 kB / 365.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.1392, allocations: 33.7 kB / 365.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1394, allocations: 152.2 kB / 365.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.1395, allocations: 71.03 kB / 365.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.1395, allocations: 0 / 365.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1397, allocations: 330.8 kB / 366.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.14, allocations: 112.2 kB / 366.2 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1403, allocations: 135 kB / 366.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.1406, allocations: 159.4 kB / 366.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1406, allocations: 0 / 366.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007914/0.1414, allocations: 417.5 kB / 366.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.1414, allocations: 63.41 kB / 367 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1415, allocations: 3.984 kB / 367 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.1418, allocations: 100.8 kB / 367.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.142, allocations: 35.92 kB / 367.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.1449, allocations: 1.901 MB / 369 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.1454, allocations: 79.88 kB / 369.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1455, allocations: 12 kB / 369.1 MB, free: 2.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001793/0.1456, allocations: 137.8 kB / 369.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1457, allocations: 27.67 kB / 369.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1457, allocations: 29.86 kB / 369.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1458, allocations: 0 / 369.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1458, allocations: 0 / 369.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1458, allocations: 192 / 369.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.1461, allocations: 297.4 kB / 369.6 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1461, allocations: 3.938 kB / 369.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1463, allocations: 35.97 kB / 369.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.1465, allocations: 104.7 kB / 369.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1466, allocations: 3.953 kB / 369.7 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2414/0.388, allocations: 1.891 MB / 371.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.388, allocations: 0 / 371.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3891, allocations: 431.8 kB / 372 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3892, allocations: 111.6 kB / 372.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.3893, allocations: 6.562 kB / 372.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3895, allocations: 29.55 kB / 372.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3896, allocations: 30.97 kB / 372.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.3897, allocations: 6.688 kB / 372.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.3898, allocations: 148.9 kB / 372.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 0 / 372.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.3904, allocations: 90.95 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001628/0.3905, allocations: 104 kB / 372.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3916, allocations: 0.4975 MB / 373 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3916, allocations: 0 / 373 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.3921, allocations: 260.2 kB / 373.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3924, allocations: 56.28 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3936, allocations: 0.6222 MB / 374 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3939, allocations: 0.7568 MB / 374.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.394, allocations: 19.67 kB / 374.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3941, allocations: 15.64 kB / 374.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3941, allocations: 0.5 kB / 374.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01015/0.4042, allocations: 4.13 MB / 378.9 MB, free: 17.46 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)