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.001606/0.001606, allocations: 112.1 kB / 18.46 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.002107/0.002107, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00342/0.3272, allocations: 2.039 MB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3282, allocations: 0.5688 MB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.3283, allocations: 0 / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3285, allocations: 15.8 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.3286, allocations: 43.69 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.3289, allocations: 67.86 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3292, allocations: 219.3 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3293, allocations: 53.03 kB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3294, allocations: 79.77 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3296, allocations: 87.66 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.3297, allocations: 20 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.3297, allocations: 23.98 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.3298, allocations: 27.92 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.3299, allocations: 83.62 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.3301, allocations: 192.5 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3301, allocations: 0 / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3301, allocations: 0 / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3302, allocations: 4 kB / 413.5 MB, free: 14.07 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.0007004/0.3309, allocations: 488.6 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3309, allocations: 8.031 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.331, allocations: 20.84 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3313, allocations: 224 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-05/0.3314, allocations: 101.7 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3315, allocations: 12.38 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3318, allocations: 121.8 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3318, allocations: 0 / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3318, allocations: 8 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3318, allocations: 0 / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3321, allocations: 118.8 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.333, allocations: 0.5071 MB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3334, allocations: 114.7 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3335, allocations: 56.77 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3336, allocations: 3.938 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3336, allocations: 38.5 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3336, allocations: 0 / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008104/0.3344, allocations: 307.4 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3344, allocations: 51.41 kB / 415.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3346, allocations: 149.5 kB / 415.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3346, allocations: 29.7 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.3347, allocations: 119.9 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3347, allocations: 27.56 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.3348, allocations: 33.7 kB / 416 MB, free: 11.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3349, allocations: 322.8 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3351, allocations: 59.97 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3353, allocations: 82.55 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.3356, allocations: 144.5 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3356, allocations: 0 / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005962/0.3362, allocations: 259.8 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.3362, allocations: 41.78 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3363, allocations: 3.938 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.3365, allocations: 72.88 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.3366, allocations: 12 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.3382, allocations: 1.625 MB / 418.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.3385, allocations: 47.95 kB / 418.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3385, allocations: 7.984 kB / 418.6 MB, free: 8.445 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.000114/0.3387, allocations: 129.8 kB / 418.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3387, allocations: 7.906 kB / 418.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3391, allocations: 179 kB / 418.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3391, allocations: 0 / 418.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3391, allocations: 3.984 kB / 418.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.3392, allocations: 85.02 kB / 419 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3392, allocations: 0 / 419 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3393, allocations: 15.98 kB / 419 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.3394, allocations: 7.984 kB / 419 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004589/0.3399, allocations: 237.7 kB / 419.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004529/0.3403, allocations: 354.7 kB / 419.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001345/0.3405, allocations: 51.98 kB / 419.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.595e-05/0.3405, allocations: 108.4 kB / 419.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.3405, allocations: 0 / 419.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007706/0.3413, allocations: 350.9 kB / 420.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006503/0.342, allocations: 0.7416 MB / 420.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of Templates: time 0.005792/0.3478, allocations: 2.781 MB / 423.6 MB, free: 3.312 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)