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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 251.7 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] 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=99999,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=99999,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001917, allocations: 63.91 kB / 365.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 50.57 MB / 416.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004118/0.1132, allocations: 2.611 MB / 418.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1146, allocations: 0.6739 MB / 419.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1148, allocations: 4 kB / 419.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1149, allocations: 39.58 kB / 419.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1151, allocations: 75.33 kB / 419.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1154, allocations: 91.81 kB / 419.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.1159, allocations: 374.7 kB / 419.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1161, allocations: 96.8 kB / 420 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1163, allocations: 143.5 kB / 420.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1165, allocations: 151.4 kB / 420.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.1166, allocations: 32 kB / 420.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.1166, allocations: 28 kB / 420.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.1167, allocations: 59.77 kB / 420.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1169, allocations: 143.4 kB / 420.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1173, allocations: 330.6 kB / 420.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1173, allocations: 0 / 420.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1173, allocations: 0 / 420.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1173, allocations: 0 / 420.9 MB, free: 8.359 MB / 350.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.001211/0.1185, allocations: 0.6503 MB / 421.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1186, allocations: 12.03 kB / 421.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1187, allocations: 36.75 kB / 421.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1191, allocations: 243.9 kB / 421.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1192, allocations: 110.1 kB / 421.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.1193, allocations: 24.38 kB / 421.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.1198, allocations: 257.9 kB / 422.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1198, allocations: 0 / 422.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1199, allocations: 12 kB / 422.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1199, allocations: 7.984 kB / 422.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.1205, allocations: 197.6 kB / 422.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.1218, allocations: 0.8595 MB / 423.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.1223, allocations: 212.6 kB / 423.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.1227, allocations: 124.8 kB / 423.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1227, allocations: 4 kB / 423.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.1231, allocations: 177.8 kB / 423.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 4.508e-06/0.1231, allocations: 0 / 423.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001464/0.1246, allocations: 0.4957 MB / 424.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.1247, allocations: 114.8 kB / 424.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1249, allocations: 202.8 kB / 424.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.125, allocations: 33.7 kB / 424.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1251, allocations: 152.4 kB / 424.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.1252, allocations: 67.42 kB / 424.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1253, allocations: 57.97 kB / 424.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1254, allocations: 330.8 kB / 425.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.1257, allocations: 96.19 kB / 425.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.126, allocations: 143.8 kB / 425.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.1266, allocations: 242.8 kB / 425.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1266, allocations: 0 / 425.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008159/0.1274, allocations: 407.5 kB / 426.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.1275, allocations: 63.41 kB / 426.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1275, allocations: 4 kB / 426.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.1278, allocations: 104.8 kB / 426.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.128, allocations: 35.92 kB / 426.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.1305, allocations: 2.076 MB / 428.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.131, allocations: 71.92 kB / 428.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1311, allocations: 8.094 kB / 428.4 MB, free: 284 kB / 350.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.000173/0.1312, allocations: 137.8 kB / 428.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1313, allocations: 27.8 kB / 428.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.1313, allocations: 33.86 kB / 428.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1314, allocations: 0 / 428.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1314, allocations: 8 kB / 428.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1314, allocations: 0 / 428.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1319, allocations: 451 kB / 429.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1319, allocations: 4 kB / 429.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1321, allocations: 23.98 kB / 429.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.1324, allocations: 108.8 kB / 429.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1324, allocations: 7.984 kB / 429.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.1347, allocations: 2.069 MB / 431.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1348, allocations: 4.219 kB / 431.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.1357, allocations: 416 kB / 431.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1358, allocations: 109 kB / 431.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1359, allocations: 11.94 kB / 431.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1361, allocations: 24.03 kB / 431.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.1362, allocations: 31.95 kB / 431.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1362, allocations: 4 kB / 431.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1364, allocations: 144.6 kB / 432 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1364, allocations: 0 / 432 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.1368, allocations: 87.89 kB / 432.1 MB, free: 12.36 MB / 366.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.00015/0.137, allocations: 103.2 kB / 432.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.138, allocations: 0.4971 MB / 432.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.138, allocations: 0 / 432.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.1385, allocations: 242.5 kB / 432.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1389, allocations: 60.12 kB / 433 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.14, allocations: 0.5145 MB / 433.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1404, allocations: 0.7558 MB / 434.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.065e-05/0.1405, allocations: 21.94 kB / 434.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1405, allocations: 15.44 kB / 434.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1405, allocations: 0 / 434.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.009976/0.1505, allocations: 4.836 MB / 439.1 MB, free: 5.246 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.17158533539623]