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.001798/0.001798, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.624/1.624, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 113.7 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.078e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.08978, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3015/0.3913, allocations: 81.38 MB / 423.9 MB, free: 14.62 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3917, allocations: 71.59 kB / 424 MB, free: 14.58 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08822/0.4799, allocations: 35.82 MB / 459.8 MB, free: 2.32 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4799, allocations: 0 / 459.8 MB, free: 2.32 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.48, allocations: 19.94 kB / 459.9 MB, free: 2.301 MB / 331.1 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.001821/0.4818, allocations: 1.179 MB / 461 MB, free: 1.07 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.4819, allocations: 8.031 kB / 461 MB, free: 1.062 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.4821, allocations: 134.3 kB / 461.2 MB, free: 0.9297 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4831, allocations: 0.7183 MB / 461.9 MB, free: 168 kB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4831, allocations: 8 kB / 461.9 MB, free: 160 kB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.4832, allocations: 16 kB / 461.9 MB, free: 144 kB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003809/0.4836, allocations: 197 kB / 462.1 MB, free: 15.94 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.484, allocations: 265.8 kB / 462.4 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.484, allocations: 0 / 462.4 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.484, allocations: 3.984 kB / 462.4 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4841, allocations: 8 kB / 462.4 MB, free: 15.66 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.4859, allocations: 1.132 MB / 463.5 MB, free: 14.49 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4862, allocations: 214.5 kB / 463.7 MB, free: 14.27 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.4866, allocations: 274.2 kB / 464 MB, free: 14 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/0.4882, allocations: 1.28 MB / 465.3 MB, free: 12.46 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.4882, allocations: 34.52 kB / 465.3 MB, free: 12.42 MB / 347.1 MB Notification: Performance of pre-optimization done (n=38): time 1.924e-06/0.4882, allocations: 0 / 465.3 MB, free: 12.42 MB / 347.1 MB Notification: Performance of matching and sorting (n=39): time 0.002308/0.4905, allocations: 1.169 MB / 466.5 MB, free: 11.19 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.4906, allocations: 107.1 kB / 466.6 MB, free: 11.06 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.4915, allocations: 0.709 MB / 467.3 MB, free: 10.34 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.4915, allocations: 29.7 kB / 467.3 MB, free: 10.31 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.4918, allocations: 357.6 kB / 467.7 MB, free: 9.957 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4919, allocations: 126.1 kB / 467.8 MB, free: 9.832 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.492, allocations: 0 / 467.8 MB, free: 9.832 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4921, allocations: 318 kB / 468.1 MB, free: 9.516 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.4923, allocations: 104.2 kB / 468.2 MB, free: 9.41 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4925, allocations: 134.8 kB / 468.3 MB, free: 9.27 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.4928, allocations: 147.6 kB / 468.5 MB, free: 9.125 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4928, allocations: 0 / 468.5 MB, free: 9.125 MB / 347.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008072/0.4936, allocations: 462.8 kB / 468.9 MB, free: 8.66 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.4937, allocations: 41.69 kB / 469 MB, free: 8.613 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.4937, allocations: 15.98 kB / 469 MB, free: 8.598 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.4939, allocations: 69.66 kB / 469.1 MB, free: 8.523 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4942, allocations: 39.98 kB / 469.1 MB, free: 8.484 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.4965, allocations: 2.898 MB / 472 MB, free: 5.355 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.4969, allocations: 7.984 kB / 472 MB, free: 5.348 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.4969, allocations: 20 kB / 472 MB, free: 5.328 MB / 347.1 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.0001472/0.4971, allocations: 146.7 kB / 472.2 MB, free: 5.172 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4972, allocations: 122.5 kB / 472.3 MB, free: 5.051 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.4986, allocations: 0.6124 MB / 472.9 MB, free: 4.422 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4986, allocations: 4 kB / 472.9 MB, free: 4.418 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.4986, allocations: 3.938 kB / 472.9 MB, free: 4.414 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4986, allocations: 0 / 472.9 MB, free: 4.414 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.4993, allocations: 0.5601 MB / 473.5 MB, free: 3.82 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.4994, allocations: 12 kB / 473.5 MB, free: 3.809 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4996, allocations: 39.97 kB / 473.5 MB, free: 3.77 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.4997, allocations: 69.61 kB / 473.6 MB, free: 3.695 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.4998, allocations: 11.98 kB / 473.6 MB, free: 3.684 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.5018, allocations: 2.891 MB / 476.5 MB, free: 0.5625 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5018, allocations: 0 / 476.5 MB, free: 0.5625 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.503, allocations: 0.7681 MB / 477.2 MB, free: 15.77 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.5034, allocations: 283.4 kB / 477.5 MB, free: 15.48 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5035, allocations: 7.938 kB / 477.5 MB, free: 15.47 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5037, allocations: 7.984 kB / 477.5 MB, free: 15.46 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.5038, allocations: 32.09 kB / 477.6 MB, free: 15.43 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.5039, allocations: 23.98 kB / 477.6 MB, free: 15.41 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0006311/0.5045, allocations: 0.5516 MB / 478.1 MB, free: 14.85 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5045, allocations: 0 / 478.1 MB, free: 14.85 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0009421/0.5055, allocations: 231.8 kB / 478.4 MB, free: 14.62 MB / 363.1 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.0007589/0.5062, allocations: 422.2 kB / 478.8 MB, free: 14.21 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.5071, allocations: 0.7008 MB / 479.5 MB, free: 13.45 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5071, allocations: 4.062 kB / 479.5 MB, free: 13.45 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.5077, allocations: 0.5759 MB / 480.1 MB, free: 12.81 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.5081, allocations: 84.7 kB / 480.1 MB, free: 12.73 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.5099, allocations: 1.057 MB / 481.2 MB, free: 11.64 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5105, allocations: 1.027 MB / 482.2 MB, free: 10.58 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.5108, allocations: 68.58 kB / 482.3 MB, free: 10.51 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.5108, allocations: 35.44 kB / 482.3 MB, free: 10.48 MB / 363.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5108, allocations: 0 / 482.3 MB, free: 10.48 MB / 363.1 MB Notification: Performance of Templates: time 0.01571/0.5265, allocations: 7.517 MB / 489.9 MB, free: 2.977 MB / 363.1 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)