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.001622/0.001622, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2345, allocations: 50.53 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003064/0.2376, allocations: 2.054 MB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.2387, allocations: 0.5688 MB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.2387, allocations: 3.938 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.2389, allocations: 11.86 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.2389, allocations: 39.64 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2392, allocations: 75.83 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2395, allocations: 219.3 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2396, allocations: 49.03 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2397, allocations: 83.73 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2399, allocations: 83.72 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.2399, allocations: 20 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.24, allocations: 28 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.2401, allocations: 31.84 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.2402, allocations: 79.66 kB / 413.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.2404, allocations: 196.5 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2404, allocations: 0 / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2404, allocations: 0 / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2404, allocations: 0 / 413.5 MB, free: 14.09 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.0007146/0.2411, allocations: 488.7 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2412, allocations: 8.031 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2413, allocations: 24.83 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.2416, allocations: 222.1 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.2417, allocations: 93.67 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2418, allocations: 8.375 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2421, allocations: 129.8 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2421, allocations: 0 / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2421, allocations: 8 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2421, allocations: 4 kB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.2424, allocations: 114.8 kB / 414.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.2433, allocations: 0.5032 MB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2436, allocations: 114.7 kB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.2438, allocations: 56.77 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2438, allocations: 0 / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2438, allocations: 42.5 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.2438, allocations: 0 / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008552/0.2447, allocations: 303.4 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2448, allocations: 55.34 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2449, allocations: 153.3 kB / 415.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.2449, allocations: 33.7 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.245, allocations: 115.9 kB / 415.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.245, allocations: 35.53 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.2451, allocations: 29.72 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2453, allocations: 322.8 kB / 416.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.2454, allocations: 51.97 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2456, allocations: 90.55 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2459, allocations: 140.2 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.246, allocations: 0 / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006097/0.2466, allocations: 263.9 kB / 416.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.2466, allocations: 33.7 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2466, allocations: 0 / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.2469, allocations: 84.86 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.247, allocations: 20.39 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2487, allocations: 1.617 MB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.249, allocations: 51.95 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2491, allocations: 4 kB / 418.6 MB, free: 8.469 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.000109/0.2492, allocations: 125.8 kB / 418.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.2492, allocations: 11.91 kB / 418.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.2497, allocations: 179 kB / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2497, allocations: 0 / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.2497, allocations: 0 / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2497, allocations: 8 kB / 418.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2499, allocations: 209.6 kB / 419.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2499, allocations: 0 / 419.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.25, allocations: 11.98 kB / 419.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.2502, allocations: 76.81 kB / 419.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2502, allocations: 3.938 kB / 419.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.2516, allocations: 1.606 MB / 420.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2517, allocations: 0 / 420.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.2521, allocations: 260.1 kB / 421.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.2522, allocations: 92.94 kB / 421.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2522, allocations: 0 / 421.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2523, allocations: 20.05 kB / 421.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2524, allocations: 7.984 kB / 421.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2524, allocations: 11.94 kB / 421.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.2525, allocations: 111.2 kB / 421.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2525, allocations: 0 / 421.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.2528, allocations: 48 kB / 421.4 MB, free: 5.465 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.0001568/0.253, allocations: 102.6 kB / 421.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.2537, allocations: 325.9 kB / 421.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2537, allocations: 0 / 421.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.254, allocations: 170.7 kB / 422 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2544, allocations: 24.11 kB / 422 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.255, allocations: 299.9 kB / 422.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2552, allocations: 0.7045 MB / 423 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.2553, allocations: 15.44 kB / 423 MB, free: 3.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2553, allocations: 4 kB / 423 MB, free: 3.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004034/0.2593, allocations: 2.465 MB / 425.5 MB, free: 1.281 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)