Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009824/0.0009825, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.152/1.152, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 108.5 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07701, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.2977, allocations: 82.13 MB / 437.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.2979, allocations: 75.64 kB / 437.3 MB, free: 7.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08065/0.3786, allocations: 36.62 MB / 473.9 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3786, allocations: 0 / 473.9 MB, free: 5.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.3786, allocations: 16 kB / 473.9 MB, free: 5.348 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001915/0.3806, allocations: 1.401 MB / 475.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3806, allocations: 8.031 kB / 475.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.3807, allocations: 130.4 kB / 475.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.3817, allocations: 0.715 MB / 476.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3817, allocations: 16.44 kB / 476.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.3818, allocations: 27.84 kB / 476.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.3823, allocations: 310.6 kB / 476.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3823, allocations: 0 / 476.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3823, allocations: 8 kB / 476.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3824, allocations: 8 kB / 476.5 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.3827, allocations: 229.7 kB / 476.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3844, allocations: 1.189 MB / 477.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.3847, allocations: 238.5 kB / 478.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.3861, allocations: 1.274 MB / 479.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3861, allocations: 42.45 kB / 479.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.663e-06/0.3861, allocations: 0 / 479.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.002941/0.3891, allocations: 2.069 MB / 481.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3892, allocations: 106.8 kB / 481.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.3899, allocations: 0.783 MB / 482.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3899, allocations: 29.7 kB / 482.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.3902, allocations: 357.6 kB / 482.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.3903, allocations: 138 kB / 482.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.3903, allocations: 4 kB / 482.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.3904, allocations: 318 kB / 483.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3906, allocations: 124.2 kB / 483.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3909, allocations: 155.1 kB / 483.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.3911, allocations: 176.2 kB / 483.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3911, allocations: 1.031 kB / 483.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007651/0.3919, allocations: 0.5293 MB / 484.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.392, allocations: 37.69 kB / 484.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.392, allocations: 12 kB / 484.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.3922, allocations: 69.67 kB / 484.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3924, allocations: 47.95 kB / 484.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.3944, allocations: 3.003 MB / 487.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3947, allocations: 15.98 kB / 487.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.3947, allocations: 16 kB / 487.4 MB, free: 6.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.395, allocations: 251.4 kB / 487.7 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3951, allocations: 122.5 kB / 487.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.3964, allocations: 0.6876 MB / 488.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3964, allocations: 0 / 488.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3964, allocations: 4 kB / 488.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3964, allocations: 0.875 kB / 488.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.397, allocations: 0.6121 MB / 489.1 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.397, allocations: 19.98 kB / 489.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3972, allocations: 35.92 kB / 489.2 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.3974, allocations: 69.61 kB / 489.2 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.3974, allocations: 19.98 kB / 489.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.3994, allocations: 3.007 MB / 492.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3994, allocations: 0 / 492.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4005, allocations: 0.8549 MB / 493.1 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.4008, allocations: 279.5 kB / 493.4 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.4009, allocations: 12.48 kB / 493.4 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.4012, allocations: 12 kB / 493.4 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.4013, allocations: 35.91 kB / 493.4 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4013, allocations: 20 kB / 493.5 MB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006019/0.4019, allocations: 0.6192 MB / 494.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4019, allocations: 0 / 494.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008141/0.4028, allocations: 255.9 kB / 494.3 MB, free: 15.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005548/0.4033, allocations: 403 kB / 494.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.4043, allocations: 0.765 MB / 495.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4043, allocations: 0 / 495.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.4048, allocations: 0.6102 MB / 496.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.4052, allocations: 92.73 kB / 496.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4073, allocations: 1.855 MB / 498 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.4078, allocations: 1.019 MB / 499.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4081, allocations: 68.58 kB / 499.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.4081, allocations: 35.44 kB / 499.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4081, allocations: 0 / 499.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01681/0.425, allocations: 8.962 MB / 0.4962 GB, free: 1.547 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)