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.001505/0.001505, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.517/1.517, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001659/0.001659, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.147e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07705, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.3814, allocations: 82.04 MB / 431.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3817, allocations: 74.12 kB / 431.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08655/0.4683, allocations: 36.53 MB / 468.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4683, allocations: 0 / 468.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.4684, allocations: 16 kB / 468.1 MB, free: 15.12 MB / 330.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.002121/0.4705, allocations: 1.174 MB / 469.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.4705, allocations: 8.031 kB / 469.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4707, allocations: 138.3 kB / 469.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.4718, allocations: 0.7141 MB / 470.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4718, allocations: 19.06 kB / 470.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4719, allocations: 18.69 kB / 470.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.4724, allocations: 295.3 kB / 470.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4724, allocations: 0 / 470.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.4724, allocations: 10.88 kB / 470.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.4724, allocations: 4 kB / 470.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.4728, allocations: 210.7 kB / 470.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.4746, allocations: 1.19 MB / 471.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.4749, allocations: 239.2 kB / 472.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.4754, allocations: 291.5 kB / 472.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.4769, allocations: 1.285 MB / 473.7 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4769, allocations: 42.19 kB / 473.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.477, allocations: 0 / 473.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.002243/0.4792, allocations: 1.236 MB / 474.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.4793, allocations: 118.8 kB / 475.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.4802, allocations: 0.7614 MB / 475.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.4803, allocations: 33.7 kB / 475.8 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.4806, allocations: 361.6 kB / 476.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4807, allocations: 130.1 kB / 476.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.4807, allocations: 4 kB / 476.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4809, allocations: 322 kB / 476.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.481, allocations: 108.2 kB / 476.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4812, allocations: 143 kB / 476.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4815, allocations: 161.6 kB / 477 MB, free: 6.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4815, allocations: 4.031 kB / 477.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007793/0.4823, allocations: 499.6 kB / 477.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.4824, allocations: 37.7 kB / 477.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.4824, allocations: 19.92 kB / 477.6 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.4826, allocations: 73.72 kB / 477.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4829, allocations: 43.97 kB / 477.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.4852, allocations: 2.978 MB / 480.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.4855, allocations: 15.98 kB / 480.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.4856, allocations: 19.98 kB / 480.7 MB, free: 2.594 MB / 330.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 () * 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.0001543/0.4857, allocations: 154.6 kB / 480.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.4859, allocations: 122.6 kB / 481 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4874, allocations: 0.6572 MB / 481.7 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4874, allocations: 0 / 481.7 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4874, allocations: 4 kB / 481.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4874, allocations: 7.922 kB / 481.7 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.4882, allocations: 0.6121 MB / 482.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.4883, allocations: 12 kB / 482.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4884, allocations: 39.97 kB / 482.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.4886, allocations: 69.69 kB / 482.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.4887, allocations: 15.98 kB / 482.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.4911, allocations: 2.986 MB / 485.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4911, allocations: 4.031 kB / 485.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.4924, allocations: 0.8159 MB / 486.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.493, allocations: 279.5 kB / 486.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4931, allocations: 8 kB / 486.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4934, allocations: 15.95 kB / 486.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.4935, allocations: 31.95 kB / 486.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.4936, allocations: 15.98 kB / 486.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008553/0.4944, allocations: 0.6079 MB / 487.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4944, allocations: 4 kB / 487.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001004/0.4954, allocations: 251.8 kB / 487.4 MB, free: 11.5 MB / 346.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 () * 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.000842/0.4963, allocations: 398.5 kB / 487.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.4973, allocations: 0.7307 MB / 488.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4973, allocations: 4.062 kB / 488.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.4979, allocations: 0.6008 MB / 489.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4984, allocations: 80.81 kB / 489.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5002, allocations: 1.089 MB / 490.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5008, allocations: 1.022 MB / 491.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.5011, allocations: 64.58 kB / 491.4 MB, free: 7.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.5012, allocations: 35.44 kB / 491.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5012, allocations: 0 / 491.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of Templates: time 0.01869/0.5199, allocations: 9.475 MB / 0.4892 GB, free: 13.81 MB / 362.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)