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.001501/0.001501, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 55.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3201, allocations: 50.55 MB / 409.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.004127/0.3243, allocations: 2.046 MB / 411.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3258, allocations: 0.5727 MB / 411.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.326, allocations: 0 / 411.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3262, allocations: 19.8 kB / 411.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3264, allocations: 39.64 kB / 411.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.3269, allocations: 71.91 kB / 412 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.3273, allocations: 219.3 kB / 412.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3275, allocations: 49.03 kB / 412.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3277, allocations: 75.77 kB / 412.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.328, allocations: 91.66 kB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.3281, allocations: 16 kB / 412.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.3281, allocations: 28 kB / 412.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.3282, allocations: 31.89 kB / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.3283, allocations: 83.64 kB / 412.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3286, allocations: 192.7 kB / 412.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3286, allocations: 0 / 412.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3286, allocations: 0 / 412.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3287, allocations: 0 / 412.8 MB, free: 14.21 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.0009954/0.3297, allocations: 492.6 kB / 413.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3297, allocations: 12.03 kB / 413.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3299, allocations: 16.84 kB / 413.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3303, allocations: 216 kB / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.3304, allocations: 89.67 kB / 413.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3304, allocations: 12.38 kB / 413.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3308, allocations: 133.7 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3308, allocations: 7.984 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3308, allocations: 0 / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3308, allocations: 4 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.3312, allocations: 114.8 kB / 413.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3322, allocations: 0.5071 MB / 414.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.3326, allocations: 122.6 kB / 414.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3327, allocations: 44.84 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3328, allocations: 4 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3328, allocations: 46.42 kB / 414.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3328, allocations: 0 / 414.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008439/0.3337, allocations: 303.4 kB / 414.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.3337, allocations: 55.41 kB / 414.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3339, allocations: 145.3 kB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3339, allocations: 33.7 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.334, allocations: 119.9 kB / 415.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.334, allocations: 23.56 kB / 415.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.3341, allocations: 33.7 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3342, allocations: 326.8 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3344, allocations: 55.97 kB / 415.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3346, allocations: 86.48 kB / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3349, allocations: 140.2 kB / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3349, allocations: 0 / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006062/0.3356, allocations: 263.9 kB / 416.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.3356, allocations: 37.62 kB / 416.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.3357, allocations: 4 kB / 416.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.3359, allocations: 72.89 kB / 416.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.336, allocations: 15.98 kB / 416.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.3379, allocations: 1.626 MB / 417.9 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3383, allocations: 51.98 kB / 417.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3383, allocations: 8 kB / 417.9 MB, free: 8.582 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.0001652/0.3385, allocations: 133.7 kB / 418.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.3385, allocations: 7.906 kB / 418.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.339, allocations: 167 kB / 418.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3391, allocations: 7.938 kB / 418.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.3391, allocations: 4 kB / 418.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3391, allocations: 0 / 418.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.3395, allocations: 217.6 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3395, allocations: 0 / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3396, allocations: 8 kB / 418.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.3398, allocations: 80.81 kB / 418.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3399, allocations: 4.062 kB / 418.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.3416, allocations: 1.606 MB / 420.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3416, allocations: 0 / 420.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.342, allocations: 256 kB / 420.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.342, allocations: 88.95 kB / 420.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3421, allocations: 4.062 kB / 420.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3422, allocations: 15.98 kB / 420.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.3423, allocations: 11.98 kB / 420.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3423, allocations: 3.984 kB / 420.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.3424, allocations: 116.3 kB / 420.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3424, allocations: 0 / 420.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.3427, allocations: 44 kB / 420.7 MB, free: 5.586 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.0001516/0.3429, allocations: 99.25 kB / 420.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.3435, allocations: 317.8 kB / 421.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3436, allocations: 384 / 421.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.3439, allocations: 190.5 kB / 421.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3442, allocations: 34.75 kB / 421.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.3449, allocations: 274.2 kB / 421.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3453, allocations: 0.7084 MB / 422.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.3454, allocations: 12.55 kB / 422.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3454, allocations: 11.44 kB / 422.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3454, allocations: 0 / 422.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Templates: time 0.007375/0.3528, allocations: 2.939 MB / 425.2 MB, free: 0.9492 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)