Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 113.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00238/0.00238, allocations: 208.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.484/2.484, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.005193/0.4081, allocations: 2.051 MB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.4098, allocations: 0.561 MB / 412.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.41, allocations: 4 kB / 412.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.4102, allocations: 19.78 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.4104, allocations: 39.66 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.4108, allocations: 75.83 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.4113, allocations: 215.4 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.4115, allocations: 49.05 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.4117, allocations: 83.75 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.412, allocations: 87.66 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.4121, allocations: 20 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.4122, allocations: 20 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.4123, allocations: 31.91 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.4124, allocations: 79.64 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.4128, allocations: 196.5 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4128, allocations: 0 / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4128, allocations: 0 / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4129, allocations: 4 kB / 413.5 MB, free: 14.07 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.001118/0.414, allocations: 484.7 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4141, allocations: 12.02 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4143, allocations: 20.84 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4147, allocations: 212 kB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4149, allocations: 97.61 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.4149, allocations: 16.38 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.4155, allocations: 129 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4155, allocations: 0 / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.4156, allocations: 4 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4156, allocations: 4 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.4162, allocations: 111.8 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.4176, allocations: 0.5032 MB / 415 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.4183, allocations: 118.6 kB / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.4186, allocations: 56.83 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.4186, allocations: 3.938 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4187, allocations: 38.5 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.4187, allocations: 0 / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001543/0.4203, allocations: 307.4 kB / 415.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4203, allocations: 51.41 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4206, allocations: 153.7 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.4206, allocations: 29.7 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4207, allocations: 115.9 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.4208, allocations: 35.53 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.421, allocations: 29.72 kB / 415.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4212, allocations: 326.8 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4215, allocations: 59.89 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.4219, allocations: 82.56 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.4225, allocations: 144.2 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4225, allocations: 4 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001146/0.4237, allocations: 263.9 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.4237, allocations: 37.7 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4238, allocations: 0 / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.4242, allocations: 76.88 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.4244, allocations: 15.98 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.4271, allocations: 1.617 MB / 418.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.4278, allocations: 47.95 kB / 418.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.4279, allocations: 4.469 kB / 418.6 MB, free: 8.453 MB / 334.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.0001842/0.4281, allocations: 129.7 kB / 418.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.4281, allocations: 12.09 kB / 418.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.4289, allocations: 182.9 kB / 418.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4289, allocations: 0 / 418.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.429, allocations: 4 kB / 418.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.429, allocations: 0 / 418.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.4294, allocations: 213.6 kB / 419.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4294, allocations: 0 / 419.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4296, allocations: 11.98 kB / 419.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.4299, allocations: 76.81 kB / 419.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.43, allocations: 3.938 kB / 419.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.4326, allocations: 1.61 MB / 420.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.4326, allocations: 7.984 kB / 420.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.4333, allocations: 260.1 kB / 421.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.4334, allocations: 88.95 kB / 421.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4335, allocations: 0 / 421.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.4338, allocations: 15.98 kB / 421.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.4339, allocations: 11.98 kB / 421.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4339, allocations: 4 kB / 421.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4341, allocations: 114.8 kB / 421.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4341, allocations: 4 kB / 421.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.4347, allocations: 48 kB / 421.4 MB, free: 5.438 MB / 334.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.0001713/0.4349, allocations: 103.2 kB / 421.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.4361, allocations: 317.8 kB / 421.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4361, allocations: 128 / 421.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.4366, allocations: 175 kB / 422 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.4372, allocations: 26.52 kB / 422 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/0.4382, allocations: 303.9 kB / 422.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.4386, allocations: 0.7084 MB / 423 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.4387, allocations: 11.44 kB / 423 MB, free: 3.703 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4387, allocations: 0 / 423 MB, free: 3.703 MB / 334.1 MB Notification: Performance of Templates: time 0.007211/0.4459, allocations: 2.483 MB / 425.5 MB, free: 1.234 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)