Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001496/0.001496, allocations: 188.5 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.384/1.384, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001741/0.001741, allocations: 115.2 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.387e-05, allocations: 0 / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.0995, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.4139, allocations: 86.39 MB / 429 MB, free: 9.672 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4142, allocations: 67.69 kB / 429 MB, free: 9.641 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1139/0.5281, allocations: 54.52 MB / 483.6 MB, free: 10.57 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5282, allocations: 0 / 483.6 MB, free: 10.57 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.5283, allocations: 28 kB / 483.6 MB, free: 10.54 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003991/0.5323, allocations: 1.728 MB / 485.3 MB, free: 8.762 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5324, allocations: 8.031 kB / 485.3 MB, free: 8.754 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.5328, allocations: 221.4 kB / 485.5 MB, free: 8.535 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.5351, allocations: 1.249 MB / 486.8 MB, free: 7.215 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.5351, allocations: 23.98 kB / 486.8 MB, free: 7.191 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5353, allocations: 43.91 kB / 486.8 MB, free: 7.148 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008079/0.5361, allocations: 446.5 kB / 487.3 MB, free: 6.715 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.5371, allocations: 0.547 MB / 487.8 MB, free: 6.152 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5371, allocations: 0 / 487.8 MB, free: 6.152 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.5372, allocations: 7.984 kB / 487.8 MB, free: 6.145 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.5372, allocations: 12 kB / 487.8 MB, free: 6.133 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.5411, allocations: 2.49 MB / 490.3 MB, free: 3.539 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.5418, allocations: 0.4931 MB / 490.8 MB, free: 3.031 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.5424, allocations: 479 kB / 491.3 MB, free: 2.562 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.5532, allocations: 8.757 MB / 0.4883 GB, free: 8.453 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/0.5538, allocations: 318.1 kB / 0.4886 GB, free: 8.129 MB / 379.1 MB Notification: Performance of pre-optimization done (n=67): time 3.627e-06/0.5538, allocations: 0 / 0.4886 GB, free: 8.129 MB / 379.1 MB Notification: Performance of matching and sorting (n=67): time 0.001973/0.5558, allocations: 0.9461 MB / 0.4896 GB, free: 7.176 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.5559, allocations: 89.55 kB / 0.4896 GB, free: 7.07 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.5581, allocations: 1.155 MB / 0.4908 GB, free: 5.883 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.5582, allocations: 25.7 kB / 0.4908 GB, free: 5.852 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008898/0.5591, allocations: 0.7898 MB / 0.4916 GB, free: 5.051 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.5594, allocations: 220.8 kB / 0.4918 GB, free: 4.832 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.5594, allocations: 0 / 0.4918 GB, free: 4.832 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5596, allocations: 337.9 kB / 0.4921 GB, free: 4.496 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.56, allocations: 187.1 kB / 0.4923 GB, free: 4.316 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.5605, allocations: 377.8 kB / 0.4926 GB, free: 3.867 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.5614, allocations: 364 kB / 0.493 GB, free: 3.508 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.5615, allocations: 0 / 0.493 GB, free: 3.508 MB / 379.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002223/0.5637, allocations: 1.056 MB / 0.494 GB, free: 2.441 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.5637, allocations: 12.92 kB / 0.494 GB, free: 2.43 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.5639, allocations: 76.02 kB / 0.4941 GB, free: 2.355 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.5653, allocations: 0.6718 MB / 0.4948 GB, free: 1.68 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.5658, allocations: 123.8 kB / 0.4949 GB, free: 1.559 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5676, allocations: 1.276 MB / 0.4961 GB, free: 264 kB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5686, allocations: 91.33 kB / 0.4962 GB, free: 172 kB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.5687, allocations: 36 kB / 0.4962 GB, free: 136 kB / 379.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.569, allocations: 134.8 kB / 0.4964 GB, free: 15.99 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.5694, allocations: 209.5 kB / 0.4966 GB, free: 15.79 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.5718, allocations: 1.092 MB / 0.4976 GB, free: 14.68 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5719, allocations: 4 kB / 0.4976 GB, free: 14.68 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5719, allocations: 1.875 kB / 0.4976 GB, free: 14.68 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5719, allocations: 7.938 kB / 0.4977 GB, free: 14.67 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.5735, allocations: 0.9107 MB / 0.4985 GB, free: 13.72 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001102/0.5736, allocations: 75.98 kB / 0.4986 GB, free: 13.65 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.574, allocations: 75.88 kB / 0.4987 GB, free: 13.57 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.5751, allocations: 0.6662 MB / 0.4993 GB, free: 12.91 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.5752, allocations: 12 kB / 0.4994 GB, free: 12.89 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.5768, allocations: 1.257 MB / 0.5006 GB, free: 11.61 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5768, allocations: 0 / 0.5006 GB, free: 11.61 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.5789, allocations: 1.285 MB / 0.5018 GB, free: 10.3 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.5794, allocations: 302.5 kB / 0.5021 GB, free: 9.98 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.5797, allocations: 0 / 0.5021 GB, free: 9.98 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.5804, allocations: 51.84 kB / 0.5022 GB, free: 9.93 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.5805, allocations: 48.36 kB / 0.5022 GB, free: 9.883 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.5806, allocations: 20 kB / 0.5022 GB, free: 9.863 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.582, allocations: 0.8709 MB / 0.5031 GB, free: 8.973 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.582, allocations: 0 / 0.5031 GB, free: 8.973 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001294/0.5833, allocations: 459.1 kB / 0.5035 GB, free: 8.523 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.5846, allocations: 0.6027 MB / 0.5041 GB, free: 7.91 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.5861, allocations: 0.6938 MB / 0.5048 GB, free: 7.203 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5861, allocations: 5.469 kB / 0.5048 GB, free: 7.199 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.587, allocations: 465.8 kB / 0.5052 GB, free: 6.73 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.5878, allocations: 171.6 kB / 0.5054 GB, free: 6.559 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.5926, allocations: 2.314 MB / 0.5077 GB, free: 4.211 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.5935, allocations: 1.263 MB / 0.5089 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0006185/0.5941, allocations: 179.2 kB / 0.5091 GB, free: 2.734 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5943, allocations: 79.44 kB / 0.5091 GB, free: 2.656 MB / 395.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5943, allocations: 0 / 0.5091 GB, free: 2.656 MB / 395.1 MB Notification: Performance of Templates: time 0.2193/0.8136, allocations: 14.04 MB / 0.5229 GB, free: 91.1 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)