Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007462/0.007462, allocations: 164.5 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.8 MB / 186.6 MB, free: 1.031 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001551/0.001551, allocations: 105.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003145, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2887, allocations: 38.76 MB / 312.9 MB, free: 38.82 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.3974, allocations: 78 MB / 390.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.3978, allocations: 79.95 kB / 391 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3077/0.7056, allocations: 37.07 MB / 428 MB, free: 77.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.7056, allocations: 0 / 428 MB, free: 77.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.7057, allocations: 16.59 kB / 428 MB, free: 77.21 MB / 314.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.002421/0.7081, allocations: 1.397 MB / 429.4 MB, free: 76.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.7082, allocations: 9.5 kB / 429.5 MB, free: 76.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.7083, allocations: 127.5 kB / 429.6 MB, free: 76.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.7094, allocations: 0.7224 MB / 430.3 MB, free: 75.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.7094, allocations: 15.16 kB / 430.3 MB, free: 75.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.7095, allocations: 24.75 kB / 430.3 MB, free: 75.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.7101, allocations: 307.3 kB / 430.6 MB, free: 75.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.7102, allocations: 1.375 kB / 430.6 MB, free: 75.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.7102, allocations: 8.625 kB / 430.7 MB, free: 75.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.7102, allocations: 4.906 kB / 430.7 MB, free: 75.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.7106, allocations: 236.1 kB / 430.9 MB, free: 75.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.7123, allocations: 1.191 MB / 432.1 MB, free: 75.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.7126, allocations: 238.9 kB / 432.3 MB, free: 75.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.7138, allocations: 1.285 MB / 433.6 MB, free: 74.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.7139, allocations: 33.19 kB / 433.6 MB, free: 74.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/0.7139, allocations: 2.625 kB / 433.6 MB, free: 74.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003039/0.7169, allocations: 2.064 MB / 435.7 MB, free: 72.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.717, allocations: 115.8 kB / 435.8 MB, free: 72.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.7178, allocations: 0.7801 MB / 436.6 MB, free: 72.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.7178, allocations: 36.3 kB / 436.6 MB, free: 72.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.7181, allocations: 349.9 kB / 437 MB, free: 72.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.7182, allocations: 136.5 kB / 437.1 MB, free: 72.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.7182, allocations: 9.406 kB / 437.1 MB, free: 72.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.7183, allocations: 317.4 kB / 437.4 MB, free: 72.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.7185, allocations: 126.5 kB / 437.5 MB, free: 72.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.7187, allocations: 166.5 kB / 437.7 MB, free: 72.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.7189, allocations: 165.2 kB / 437.9 MB, free: 72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7189, allocations: 3.75 kB / 437.9 MB, free: 72 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007589/0.7197, allocations: 0.5239 MB / 438.4 MB, free: 71.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.7198, allocations: 40.3 kB / 438.4 MB, free: 71.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.7198, allocations: 21.62 kB / 438.5 MB, free: 71.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.72, allocations: 66.69 kB / 438.5 MB, free: 71.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.7202, allocations: 41.78 kB / 438.6 MB, free: 71.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.722, allocations: 3.008 MB / 441.6 MB, free: 68.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.7223, allocations: 14.81 kB / 441.6 MB, free: 68.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.7223, allocations: 14.41 kB / 441.6 MB, free: 68.81 MB / 314.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.0003158/0.7227, allocations: 254.3 kB / 441.8 MB, free: 68.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7228, allocations: 126.3 kB / 442 MB, free: 68.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.7241, allocations: 0.6784 MB / 442.6 MB, free: 68.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7241, allocations: 6.609 kB / 442.6 MB, free: 68.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7241, allocations: 3.562 kB / 442.7 MB, free: 68.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7241, allocations: 0 / 442.7 MB, free: 68.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.7248, allocations: 0.6113 MB / 443.3 MB, free: 67.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.7248, allocations: 17.31 kB / 443.3 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.725, allocations: 42.34 kB / 443.3 MB, free: 67.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.7252, allocations: 67.73 kB / 443.4 MB, free: 67.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.7252, allocations: 15.08 kB / 443.4 MB, free: 67.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.7268, allocations: 3.01 MB / 446.4 MB, free: 64.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7269, allocations: 0 / 446.4 MB, free: 64.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.728, allocations: 0.8607 MB / 447.3 MB, free: 64.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.7283, allocations: 285.8 kB / 447.6 MB, free: 64.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.7284, allocations: 11.72 kB / 447.6 MB, free: 64.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.7287, allocations: 10.59 kB / 447.6 MB, free: 64.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.7288, allocations: 31.75 kB / 447.6 MB, free: 64.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.7288, allocations: 21.31 kB / 447.6 MB, free: 64.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000603/0.7295, allocations: 0.6163 MB / 448.2 MB, free: 63.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7295, allocations: 0 / 448.2 MB, free: 63.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009781/0.7304, allocations: 251.8 kB / 448.5 MB, free: 63.91 MB / 314.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.0006061/0.7311, allocations: 407.8 kB / 448.9 MB, free: 63.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009167/0.732, allocations: 0.7598 MB / 449.6 MB, free: 63.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.732, allocations: 4.062 kB / 449.7 MB, free: 63.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.7325, allocations: 0.6203 MB / 450.3 MB, free: 62.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.7329, allocations: 87.28 kB / 450.4 MB, free: 62.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.7348, allocations: 1.859 MB / 452.2 MB, free: 61.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.7352, allocations: 1.02 MB / 453.2 MB, free: 60.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.7355, allocations: 67.95 kB / 453.3 MB, free: 60.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.7356, allocations: 34.84 kB / 453.3 MB, free: 60.78 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7356, allocations: 0 / 453.3 MB, free: 60.78 MB / 314.7 MB Notification: Performance of Templates: time 0.01482/0.7504, allocations: 8.973 MB / 462.3 MB, free: 57.55 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)