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.00107/0.00107, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008057/0.0008056, allocations: 86.12 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.108e-05, allocations: 4 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 51.47 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4362, allocations: 78.24 MB / 473.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4365, allocations: 70.09 kB / 473.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00874/0.4453, allocations: 2.894 MB / 476.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4454, allocations: 0 / 476.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.4454, allocations: 0 / 476.4 MB, free: 11.81 MB / 346.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.0005246/0.4459, allocations: 462.9 kB / 476.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.446, allocations: 12.03 kB / 476.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.4461, allocations: 17.45 kB / 476.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4464, allocations: 222.6 kB / 477.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.4464, allocations: 86.47 kB / 477.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4465, allocations: 11.61 kB / 477.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001728/0.4466, allocations: 82.28 kB / 477.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.4468, allocations: 97.41 kB / 477.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4468, allocations: 0 / 477.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4469, allocations: 0 / 477.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4469, allocations: 0 / 477.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007572/0.4476, allocations: 0.5015 MB / 477.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.4479, allocations: 92.52 kB / 477.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.448, allocations: 38.14 kB / 478 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.448, allocations: 0 / 478 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.4481, allocations: 38.69 kB / 478 MB, free: 10.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/0.4481, allocations: 0 / 478 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003918/0.4485, allocations: 158.8 kB / 478.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.4485, allocations: 51.41 kB / 478.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.4486, allocations: 129.9 kB / 478.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4486, allocations: 25.7 kB / 478.4 MB, free: 10 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.4487, allocations: 123.7 kB / 478.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.4487, allocations: 24.42 kB / 478.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.4487, allocations: 0 / 478.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.4488, allocations: 321.5 kB / 478.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.4489, allocations: 41.86 kB / 478.9 MB, free: 9.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.4489, allocations: 62.95 kB / 478.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.449, allocations: 41.03 kB / 479 MB, free: 9.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.449, allocations: 0 / 479 MB, free: 9.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002713/0.4493, allocations: 170.5 kB / 479.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4494, allocations: 38.62 kB / 479.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4494, allocations: 0 / 479.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.4496, allocations: 77.2 kB / 479.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.4497, allocations: 21.92 kB / 479.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4508, allocations: 1.508 MB / 480.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.4511, allocations: 46.41 kB / 480.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4511, allocations: 4 kB / 480.8 MB, free: 7.734 MB / 346.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 () * 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 7.166e-05/0.4512, allocations: 113.7 kB / 480.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4512, allocations: 11.81 kB / 480.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.4513, allocations: 13.38 kB / 481 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4513, allocations: 0 / 481 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.4513, allocations: 0 / 481 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4513, allocations: 5.297 kB / 481 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4515, allocations: 185.1 kB / 481.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4515, allocations: 5.688 kB / 481.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.4516, allocations: 18.8 kB / 481.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.4517, allocations: 66.59 kB / 481.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4517, allocations: 0 / 481.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009143/0.4526, allocations: 1.429 MB / 482.7 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4526, allocations: 0 / 482.7 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.453, allocations: 253.3 kB / 482.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.453, allocations: 94.36 kB / 483 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.453, allocations: 0 / 483 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.4532, allocations: 22.19 kB / 483 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.4532, allocations: 13.28 kB / 483 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.4533, allocations: 4 kB / 483 MB, free: 5.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.4533, allocations: 105.9 kB / 483.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4533, allocations: 0 / 483.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4536, allocations: 44 kB / 483.2 MB, free: 5.508 MB / 346.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 () * 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.0001441/0.4538, allocations: 100.8 kB / 483.3 MB, free: 5.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.4542, allocations: 278 kB / 483.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4542, allocations: 3.938 kB / 483.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.4544, allocations: 147.1 kB / 483.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.4547, allocations: 23.05 kB / 483.7 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.455, allocations: 154.8 kB / 483.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4552, allocations: 0.7176 MB / 484.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.4552, allocations: 6.297 kB / 484.6 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.4553, allocations: 11.44 kB / 484.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4553, allocations: 4 kB / 484.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of Templates: time 0.004941/0.4602, allocations: 2.255 MB / 486.9 MB, free: 2.141 MB / 346.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)