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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 215.7 kB / 19.41 MB, free: 3.664 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.399/1.399, allocations: 227.7 MB / 247.9 MB, free: 10.26 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.001887/0.001887, allocations: 72.12 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003168/0.2303, allocations: 2.058 MB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.2313, allocations: 0.5649 MB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.2314, allocations: 0 / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2315, allocations: 23.78 kB / 412.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.2316, allocations: 35.72 kB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.2318, allocations: 71.83 kB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.2321, allocations: 207.3 kB / 413.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2322, allocations: 37.05 kB / 413.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2323, allocations: 87.73 kB / 413.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.2325, allocations: 95.66 kB / 413.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.2325, allocations: 16 kB / 413.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.2326, allocations: 20 kB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2326, allocations: 35.84 kB / 413.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.2327, allocations: 75.66 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.233, allocations: 199.1 kB / 413.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.233, allocations: 0 / 413.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.233, allocations: 0 / 413.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.233, allocations: 0 / 413.7 MB, free: 13.94 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.0007707/0.2338, allocations: 492.5 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2338, allocations: 8.031 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2339, allocations: 24.83 kB / 414.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2342, allocations: 212.2 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/0.2343, allocations: 93.67 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.2344, allocations: 12.38 kB / 414.6 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2347, allocations: 133.7 kB / 414.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2347, allocations: 3.938 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2347, allocations: 4 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2347, allocations: 4 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.235, allocations: 115.8 kB / 414.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.2359, allocations: 0.5072 MB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.2362, allocations: 102.7 kB / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2363, allocations: 48.77 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2364, allocations: 7.938 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2364, allocations: 38.5 kB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2364, allocations: 0 / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008598/0.2373, allocations: 299.4 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.2373, allocations: 59.41 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2374, allocations: 148.6 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2375, allocations: 33.7 kB / 416 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.2375, allocations: 116 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2376, allocations: 27.73 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.2376, allocations: 33.72 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2378, allocations: 318.8 kB / 416.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.238, allocations: 60.34 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2382, allocations: 86.55 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2385, allocations: 148.2 kB / 416.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2385, allocations: 0 / 416.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006325/0.2391, allocations: 271.7 kB / 417.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.2391, allocations: 37.7 kB / 417.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2391, allocations: 0 / 417.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.2394, allocations: 76.86 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.2395, allocations: 15.98 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.2412, allocations: 1.625 MB / 418.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2415, allocations: 44.02 kB / 418.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2416, allocations: 8 kB / 418.9 MB, free: 8.316 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.0001125/0.2417, allocations: 121.8 kB / 419 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2417, allocations: 15.91 kB / 419 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.2421, allocations: 171.1 kB / 419.2 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2421, allocations: 4 kB / 419.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.2421, allocations: 0 / 419.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2421, allocations: 0 / 419.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.2424, allocations: 217.5 kB / 419.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2424, allocations: 0 / 419.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.2425, allocations: 19.92 kB / 419.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/0.2426, allocations: 80.8 kB / 419.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2426, allocations: 3.938 kB / 419.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.2442, allocations: 1.606 MB / 421.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2442, allocations: 3.984 kB / 421.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.2446, allocations: 248.4 kB / 421.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.2447, allocations: 93.08 kB / 421.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2447, allocations: 96 / 421.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2448, allocations: 19.92 kB / 421.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.2449, allocations: 7.984 kB / 421.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2449, allocations: 8 kB / 421.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.245, allocations: 114.4 kB / 421.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.245, allocations: 0 / 421.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.2453, allocations: 48 kB / 421.6 MB, free: 5.316 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.0001219/0.2454, allocations: 103.2 kB / 421.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006429/0.2461, allocations: 305.8 kB / 422 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2461, allocations: 0 / 422 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.2464, allocations: 170.7 kB / 422.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2467, allocations: 31.97 kB / 422.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.2473, allocations: 266.2 kB / 422.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2476, allocations: 0.7084 MB / 423.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.2476, allocations: 8.547 kB / 423.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2477, allocations: 15.44 kB / 423.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2477, allocations: 3.938 kB / 423.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of Templates: time 0.006761/0.2544, allocations: 2.969 MB / 426.2 MB, free: 0.6875 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile (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 -s gbode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)