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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 202 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008492/0.0008492, allocations: 92.36 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 4 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1833, allocations: 51.49 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08666/0.27, allocations: 78.97 MB / 488.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.2702, allocations: 68.84 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008343/0.2786, allocations: 2.921 MB / 491.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2786, allocations: 3.938 kB / 491.4 MB, free: 8.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2786, allocations: 4 kB / 491.4 MB, free: 8.613 MB / 362.7 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.0006031/0.2792, allocations: 476.5 kB / 491.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2792, allocations: 8.031 kB / 491.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2794, allocations: 31.78 kB / 491.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2796, allocations: 204.9 kB / 492.1 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.2797, allocations: 101 kB / 492.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2798, allocations: 12 kB / 492.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2801, allocations: 134.2 kB / 492.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2801, allocations: 0 / 492.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2801, allocations: 8 kB / 492.3 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2801, allocations: 0 / 492.3 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2805, allocations: 115.9 kB / 492.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.2813, allocations: 0.5266 MB / 493 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.2817, allocations: 126.6 kB / 493.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.2817, allocations: 0 / 493.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2817, allocations: 38.52 kB / 493.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.2817, allocations: 0 / 493.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008821/0.2826, allocations: 347.5 kB / 493.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2827, allocations: 51.41 kB / 493.5 MB, free: 6.238 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2828, allocations: 145.2 kB / 493.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2828, allocations: 25.7 kB / 493.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.2829, allocations: 119.9 kB / 493.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2829, allocations: 31.55 kB / 493.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.2829, allocations: 8 kB / 493.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.283, allocations: 322.8 kB / 494.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2832, allocations: 63.91 kB / 494.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2834, allocations: 90.53 kB / 494.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2836, allocations: 85.67 kB / 494.4 MB, free: 5.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2836, allocations: 0 / 494.4 MB, free: 5.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004792/0.2841, allocations: 248 kB / 494.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.2841, allocations: 40.2 kB / 494.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2841, allocations: 0 / 494.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.2844, allocations: 80.86 kB / 494.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.2845, allocations: 19.92 kB / 494.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.286, allocations: 1.513 MB / 496.3 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2863, allocations: 43.94 kB / 496.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2863, allocations: 8 kB / 496.4 MB, free: 3.219 MB / 362.7 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.cv,dcPowerSupply.cc,dcPowerSupply.cp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.2865, allocations: 125.8 kB / 496.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.2865, allocations: 15.89 kB / 496.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.2865, allocations: 8.719 kB / 496.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2866, allocations: 0 / 496.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2866, allocations: 7.938 kB / 496.5 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2866, allocations: 0 / 496.5 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2868, allocations: 229.4 kB / 496.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2868, allocations: 0 / 496.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.2869, allocations: 15.98 kB / 496.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.2871, allocations: 77.2 kB / 496.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2871, allocations: 8 kB / 496.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.2885, allocations: 1.496 MB / 498.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2885, allocations: 8 kB / 498.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.289, allocations: 292.1 kB / 498.6 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.2891, allocations: 88.92 kB / 498.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2891, allocations: 0 / 498.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2892, allocations: 19.98 kB / 498.7 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.2893, allocations: 15.94 kB / 498.7 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.2893, allocations: 4 kB / 498.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.2894, allocations: 115.8 kB / 498.9 MB, free: 488 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 498.9 MB, free: 488 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.2897, allocations: 47.94 kB / 498.9 MB, free: 440 kB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.2898, allocations: 99.25 kB / 499 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.2905, allocations: 330.2 kB / 499.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2905, allocations: 3.938 kB / 499.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.2908, allocations: 178.5 kB / 499.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.291, allocations: 23.98 kB / 499.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.2915, allocations: 325 kB / 499.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2918, allocations: 0.7126 MB / 0.4888 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.2919, allocations: 16.41 kB / 0.4888 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2919, allocations: 11.44 kB / 0.4889 GB, free: 14.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2919, allocations: 0 / 0.4889 GB, free: 14.64 MB / 378.7 MB Notification: Performance of Templates: time 0.005356/0.2973, allocations: 2.524 MB / 0.4913 GB, free: 12.16 MB / 378.7 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)