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.00141/0.00141, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009274/0.0009276, allocations: 92.77 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.497e-05/4.506e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09919, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3127/0.4119, allocations: 78.9 MB / 480.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4122, allocations: 73 kB / 481 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007744/0.42, allocations: 2.905 MB / 483.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.42, allocations: 0 / 483.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4201, allocations: 4 kB / 483.9 MB, free: 7.965 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.000493/0.4206, allocations: 463.8 kB / 484.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4206, allocations: 12.03 kB / 484.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.4208, allocations: 16.53 kB / 484.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.421, allocations: 218.5 kB / 484.6 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.4211, allocations: 88.55 kB / 484.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4211, allocations: 22.86 kB / 484.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4213, allocations: 104.7 kB / 484.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4213, allocations: 0 / 484.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.4213, allocations: 11.44 kB / 484.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4214, allocations: 0 / 484.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4215, allocations: 86.05 kB / 484.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.4223, allocations: 0.5299 MB / 485.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.4226, allocations: 105.5 kB / 485.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.4227, allocations: 41.5 kB / 485.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4227, allocations: 0 / 485.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4227, allocations: 42.25 kB / 485.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.4227, allocations: 0 / 485.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003897/0.4231, allocations: 154.8 kB / 485.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.4231, allocations: 55.39 kB / 485.8 MB, free: 6.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.4232, allocations: 131.7 kB / 486 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4233, allocations: 29.7 kB / 486 MB, free: 5.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.4233, allocations: 114.5 kB / 486.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4233, allocations: 33.88 kB / 486.1 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4234, allocations: 4 kB / 486.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.4234, allocations: 327.1 kB / 486.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.4235, allocations: 49.62 kB / 486.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.4236, allocations: 63.58 kB / 486.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.4237, allocations: 67.94 kB / 486.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4237, allocations: 0 / 486.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002913/0.424, allocations: 216.9 kB / 486.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.424, allocations: 39.42 kB / 486.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.424, allocations: 3.828 kB / 486.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.4242, allocations: 67.77 kB / 487 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.4243, allocations: 27.92 kB / 487 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.4254, allocations: 1.489 MB / 488.5 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.4257, allocations: 51.86 kB / 488.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4258, allocations: 9.625 kB / 488.5 MB, free: 3.492 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 5.226e-05/0.4258, allocations: 116.3 kB / 488.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4259, allocations: 15.91 kB / 488.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.4259, allocations: 11.12 kB / 488.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4259, allocations: 0 / 488.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4259, allocations: 4 kB / 488.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.4259, allocations: 0 / 488.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.4261, allocations: 223.1 kB / 488.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4261, allocations: 0 / 488.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.4261, allocations: 12 kB / 488.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.4263, allocations: 78.17 kB / 489 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4263, allocations: 3.312 kB / 489 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009079/0.4272, allocations: 1.489 MB / 490.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4272, allocations: 2.312 kB / 490.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4275, allocations: 264.5 kB / 490.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.4276, allocations: 81.02 kB / 490.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4276, allocations: 5.781 kB / 490.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.4277, allocations: 19.67 kB / 490.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.4278, allocations: 11.94 kB / 490.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.4278, allocations: 4 kB / 490.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.4279, allocations: 114.3 kB / 491 MB, free: 1.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4279, allocations: 0 / 491 MB, free: 1.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.4282, allocations: 55.47 kB / 491 MB, free: 1.023 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.0001359/0.4283, allocations: 103.2 kB / 491.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.4287, allocations: 287.5 kB / 491.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4287, allocations: 0 / 491.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.4289, allocations: 165.2 kB / 491.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4291, allocations: 24.73 kB / 491.6 MB, free: 500 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.4295, allocations: 156.5 kB / 491.7 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.4297, allocations: 0.7165 MB / 492.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.4298, allocations: 4.562 kB / 492.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.4298, allocations: 11.44 kB / 492.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4298, allocations: 0 / 492.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005007/0.4348, allocations: 2.524 MB / 495 MB, free: 13.14 MB / 362.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)