Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.4 MB / 251.1 MB, free: 8.496 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.83 kB / 369 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 53.32 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003453/0.2734, allocations: 2.062 MB / 424.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2744, allocations: 0.5805 MB / 424.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2745, allocations: 3.938 kB / 424.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.2747, allocations: 11.86 kB / 424.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2748, allocations: 43.64 kB / 425 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.275, allocations: 71.84 kB / 425.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.2753, allocations: 207.4 kB / 425.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2755, allocations: 40.98 kB / 425.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2756, allocations: 79.77 kB / 425.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2758, allocations: 83.72 kB / 425.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.2758, allocations: 20 kB / 425.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.2759, allocations: 23.94 kB / 425.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.2759, allocations: 31.91 kB / 425.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.276, allocations: 91.56 kB / 425.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2763, allocations: 178.9 kB / 425.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.2763, allocations: 4 kB / 425.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2763, allocations: 4 kB / 425.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2763, allocations: 0 / 425.8 MB, free: 4.316 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008368/0.2772, allocations: 488.5 kB / 426.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2772, allocations: 12.03 kB / 426.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2773, allocations: 24.78 kB / 426.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.2777, allocations: 220.2 kB / 426.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.2778, allocations: 89.67 kB / 426.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2778, allocations: 12.38 kB / 426.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.2781, allocations: 129.7 kB / 426.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2781, allocations: 0 / 426.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2781, allocations: 4 kB / 426.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2781, allocations: 4 kB / 426.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.2785, allocations: 107.8 kB / 426.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000907/0.2794, allocations: 0.511 MB / 427.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.2797, allocations: 118.6 kB / 427.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2799, allocations: 40.84 kB / 427.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.2799, allocations: 0 / 427.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2799, allocations: 42.48 kB / 427.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.2799, allocations: 0 / 427.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009005/0.2808, allocations: 311.7 kB / 427.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2809, allocations: 51.41 kB / 427.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.281, allocations: 146.4 kB / 428.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.2811, allocations: 29.64 kB / 428.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2812, allocations: 120 kB / 428.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.2812, allocations: 27.75 kB / 428.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.2813, allocations: 33.7 kB / 428.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2814, allocations: 326.8 kB / 428.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2816, allocations: 55.97 kB / 428.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2818, allocations: 82.53 kB / 428.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2821, allocations: 148.2 kB / 428.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2821, allocations: 0 / 428.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006164/0.2827, allocations: 263.9 kB / 429.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.2827, allocations: 37.69 kB / 429.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2828, allocations: 64 / 429.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.283, allocations: 76.81 kB / 429.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.2831, allocations: 19.92 kB / 429.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.2849, allocations: 1.614 MB / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2853, allocations: 55.98 kB / 430.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2853, allocations: 4 kB / 430.9 MB, free: 14.7 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: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.2854, allocations: 125.8 kB / 431.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.2855, allocations: 15.91 kB / 431.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.2859, allocations: 163.1 kB / 431.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2859, allocations: 0 / 431.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2859, allocations: 4 kB / 431.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2859, allocations: 3.984 kB / 431.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.2862, allocations: 225.5 kB / 431.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2862, allocations: 0 / 431.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.2863, allocations: 8 kB / 431.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.2864, allocations: 73.28 kB / 431.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2864, allocations: 11.94 kB / 431.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.2881, allocations: 1.603 MB / 433.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2881, allocations: 3.938 kB / 433.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.2886, allocations: 256.3 kB / 433.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.2887, allocations: 89.02 kB / 433.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2887, allocations: 7.938 kB / 433.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2888, allocations: 11.98 kB / 433.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.2889, allocations: 15.97 kB / 433.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2889, allocations: 4 kB / 433.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.903e-05/0.289, allocations: 114 kB / 433.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.289, allocations: 0 / 433.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00032/0.2893, allocations: 47.94 kB / 433.7 MB, free: 11.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.2895, allocations: 111.4 kB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.2902, allocations: 298 kB / 434.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2902, allocations: 4 kB / 434.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.2905, allocations: 174.6 kB / 434.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2908, allocations: 23.98 kB / 434.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.2914, allocations: 270.6 kB / 434.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2918, allocations: 0.7084 MB / 435.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.2918, allocations: 4.562 kB / 435.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.2919, allocations: 15.38 kB / 435.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2919, allocations: 7.938 kB / 435.3 MB, free: 10 MB / 350.1 MB Notification: Performance of Templates: time 0.007156/0.299, allocations: 3.007 MB / 438.3 MB, free: 7.027 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480]