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.001093/0.001093, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 62.16 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08638, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002995/0.08941, allocations: 2.052 MB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.09032, allocations: 0.5688 MB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.09042, allocations: 7.938 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.09056, allocations: 19.84 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.09065, allocations: 35.66 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.09089, allocations: 75.83 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.09115, allocations: 219.3 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.09129, allocations: 45.05 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.0914, allocations: 87.75 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.09158, allocations: 83.72 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.09163, allocations: 16 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.09169, allocations: 20 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.09174, allocations: 35.91 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.09183, allocations: 83.58 kB / 362.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.09205, allocations: 187.4 kB / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09206, allocations: 0 / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09207, allocations: 0 / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.09208, allocations: 4 kB / 362.4 MB, free: 9.789 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006771/0.09277, allocations: 496.6 kB / 362.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.09281, allocations: 11.97 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.09294, allocations: 20.75 kB / 362.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.09321, allocations: 212.1 kB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.9e-05/0.0933, allocations: 93.67 kB / 363.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.09333, allocations: 16.38 kB / 363.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.09362, allocations: 125.6 kB / 363.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.09364, allocations: 0 / 363.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.09367, allocations: 8 kB / 363.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.09368, allocations: 0 / 363.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.09398, allocations: 111.9 kB / 363.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.0948, allocations: 0.5148 MB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.09514, allocations: 114.6 kB / 364.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.09529, allocations: 52.83 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.09532, allocations: 0 / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.09535, allocations: 38.5 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.09536, allocations: 0 / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008171/0.09618, allocations: 303.4 kB / 364.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.09622, allocations: 51.41 kB / 364.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.09634, allocations: 153.4 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.09637, allocations: 29.7 kB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.09644, allocations: 115.9 kB / 364.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.09648, allocations: 31.55 kB / 364.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.09656, allocations: 37.7 kB / 364.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.09665, allocations: 318.8 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.09683, allocations: 63.95 kB / 365.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.09701, allocations: 74.55 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.09731, allocations: 156.2 kB / 365.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.09733, allocations: 4 kB / 365.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005817/0.09791, allocations: 259.9 kB / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.09796, allocations: 33.7 kB / 365.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.09797, allocations: 4.453 kB / 365.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.0982, allocations: 68.89 kB / 365.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.09831, allocations: 23.92 kB / 365.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.09983, allocations: 1.613 MB / 367.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.1002, allocations: 60.08 kB / 367.6 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1002, allocations: 4 kB / 367.6 MB, free: 4.168 MB / 302.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.0001011/0.1003, allocations: 125.8 kB / 367.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.1004, allocations: 11.91 kB / 367.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.1008, allocations: 171.1 kB / 367.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1008, allocations: 4 kB / 367.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1008, allocations: 0 / 367.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1008, allocations: 0 / 367.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.101, allocations: 213.6 kB / 368.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.101, allocations: 0 / 368.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.1011, allocations: 15.98 kB / 368.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.1013, allocations: 72.81 kB / 368.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1013, allocations: 7.938 kB / 368.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.1027, allocations: 1.617 MB / 369.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1027, allocations: 0 / 369.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1031, allocations: 260.2 kB / 370.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1032, allocations: 81.02 kB / 370.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1032, allocations: 4 kB / 370.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1034, allocations: 11.98 kB / 370.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.1034, allocations: 11.98 kB / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1035, allocations: 0 / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.1035, allocations: 122.8 kB / 370.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.364e-06/0.1035, allocations: 0 / 370.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1039, allocations: 52.03 kB / 370.3 MB, free: 1.164 MB / 302.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.0001151/0.104, allocations: 99.25 kB / 370.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1046, allocations: 317.8 kB / 370.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1046, allocations: 8.125 kB / 370.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1049, allocations: 174.6 kB / 370.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1052, allocations: 30.38 kB / 370.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.1058, allocations: 270.3 kB / 371.2 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1376/0.2433, allocations: 0.7074 MB / 371.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.2435, allocations: 7.234 kB / 371.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2435, allocations: 12.06 kB / 371.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2435, allocations: 0 / 371.9 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Templates: time 0.006579/0.2501, allocations: 2.923 MB / 374.9 MB, free: 19.55 MB / 302.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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)