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.001742/0.001742, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002108/0.002108, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.484/1.484, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.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.001899/0.001899, allocations: 67.89 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 53.33 MB / 427.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004488/0.1073, allocations: 2.629 MB / 430.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1087, allocations: 0.6739 MB / 431.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1088, allocations: 4 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.109, allocations: 35.59 kB / 431.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1091, allocations: 79.33 kB / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1094, allocations: 95.8 kB / 431.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.1098, allocations: 370.7 kB / 431.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.11, allocations: 64.83 kB / 431.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1102, allocations: 143.5 kB / 431.9 MB, free: 356 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1104, allocations: 155.3 kB / 432.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.1105, allocations: 28 kB / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.1106, allocations: 32 kB / 432.1 MB, free: 140 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.1106, allocations: 59.77 kB / 432.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.185/0.2956, allocations: 142.1 kB / 432.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.2961, allocations: 327.4 kB / 432.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2961, allocations: 0 / 432.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2961, allocations: 0.9688 kB / 432.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2961, allocations: 1.156 kB / 432.7 MB, free: 8.488 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.001022/0.2971, allocations: 0.6454 MB / 433.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2972, allocations: 9.312 kB / 433.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.2973, allocations: 41.06 kB / 433.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2976, allocations: 253.6 kB / 433.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.2977, allocations: 99.52 kB / 433.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.2978, allocations: 26.52 kB / 433.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.2983, allocations: 253.6 kB / 434 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2983, allocations: 0 / 434 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2983, allocations: 13.78 kB / 434 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2983, allocations: 5.531 kB / 434 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.2988, allocations: 197.9 kB / 434.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2999, allocations: 0.8666 MB / 435.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.3003, allocations: 188.1 kB / 435.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3006, allocations: 115.8 kB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3007, allocations: 2.844 kB / 435.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.301, allocations: 185 kB / 435.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.301, allocations: 0 / 435.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001407/0.3024, allocations: 489.5 kB / 436 MB, free: 6.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3024, allocations: 120.8 kB / 436.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3026, allocations: 205.8 kB / 436.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3026, allocations: 31.67 kB / 436.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.3027, allocations: 157.6 kB / 436.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.3028, allocations: 67.77 kB / 436.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3029, allocations: 54.84 kB / 436.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.3029, allocations: 330.8 kB / 437 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.3032, allocations: 101.2 kB / 437.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3035, allocations: 141.6 kB / 437.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.3039, allocations: 244.4 kB / 437.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3039, allocations: 0 / 437.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007705/0.3047, allocations: 403.4 kB / 437.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3048, allocations: 65.11 kB / 437.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3048, allocations: 1.125 kB / 437.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.3051, allocations: 110.6 kB / 438 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3053, allocations: 30.3 kB / 438 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.3073, allocations: 2.072 MB / 440.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.3078, allocations: 68.83 kB / 440.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3078, allocations: 15.17 kB / 440.2 MB, free: 4.293 MB / 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.0001287/0.3079, allocations: 143 kB / 440.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.308, allocations: 25.73 kB / 440.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.308, allocations: 24.64 kB / 440.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.308, allocations: 3.094 kB / 440.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.308, allocations: 1.859 kB / 440.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.308, allocations: 1.266 kB / 440.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.3084, allocations: 451.7 kB / 440.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3084, allocations: 5.953 kB / 440.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3086, allocations: 28.47 kB / 440.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.3089, allocations: 108.3 kB / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3089, allocations: 2.219 kB / 441 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.3108, allocations: 2.078 MB / 443 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3108, allocations: 1.125 kB / 443 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.3117, allocations: 402.8 kB / 443.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.3117, allocations: 107.9 kB / 443.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3118, allocations: 6.469 kB / 443.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.312, allocations: 27.17 kB / 443.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3121, allocations: 28.09 kB / 443.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3121, allocations: 8.953 kB / 443.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3122, allocations: 148.3 kB / 443.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 0 / 443.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.3127, allocations: 89.17 kB / 443.8 MB, free: 1.547 MB / 350.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.0001177/0.3128, allocations: 108.3 kB / 443.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008745/0.3137, allocations: 482.9 kB / 444.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3137, allocations: 0 / 444.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.3141, allocations: 238.5 kB / 444.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3145, allocations: 51.75 kB / 444.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3155, allocations: 0.5585 MB / 445.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3158, allocations: 0.7534 MB / 446 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.3158, allocations: 20.72 kB / 446 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3158, allocations: 2.625 kB / 446 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.007641/0.3235, allocations: 4.112 MB / 450.2 MB, free: 15.61 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: 7.6663253989536315] Failed to read output from testmodel.py, exit status != 0: 0.331537548918277 0.344347344 0.045316139000000005 Calling exit ...