Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001448/0.001448, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.196/1.196, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001555/0.001555, allocations: 108.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.543e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06617/0.0662, allocations: 38.78 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.3393, allocations: 82.26 MB / 383.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.3396, allocations: 73.7 kB / 383.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1185/0.4581, allocations: 55.13 MB / 438.4 MB, free: 1.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4582, allocations: 7.938 kB / 438.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001556/0.4583, allocations: 24 kB / 438.5 MB, free: 1.152 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003865/0.4622, allocations: 1.734 MB / 440.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4623, allocations: 12.03 kB / 440.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.4628, allocations: 225.7 kB / 440.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.4654, allocations: 1.251 MB / 441.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.4655, allocations: 16 kB / 441.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.4656, allocations: 35.91 kB / 441.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008378/0.4664, allocations: 441.1 kB / 442.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.4674, allocations: 0.5548 MB / 442.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4674, allocations: 0 / 442.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.4675, allocations: 3.984 kB / 442.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.4675, allocations: 27.94 kB / 442.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.4713, allocations: 2.48 MB / 445.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.4719, allocations: 0.4947 MB / 445.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.4724, allocations: 486.9 kB / 446.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.4825, allocations: 8.75 MB / 455 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.483, allocations: 313.1 kB / 455.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.046e-06/0.4831, allocations: 8 kB / 455.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001834/0.4849, allocations: 0.9461 MB / 456.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.485, allocations: 81.55 kB / 456.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4866, allocations: 1.155 MB / 457.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.4866, allocations: 33.64 kB / 457.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006605/0.4873, allocations: 0.7975 MB / 458.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.4875, allocations: 212.8 kB / 458.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.4875, allocations: 4 kB / 458.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4877, allocations: 333.9 kB / 458.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.488, allocations: 190.1 kB / 459 MB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.4884, allocations: 378.8 kB / 459.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.4892, allocations: 356.1 kB / 459.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4892, allocations: 0 / 459.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001668/0.4909, allocations: 1.06 MB / 460.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4909, allocations: 8 kB / 460.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.491, allocations: 72.7 kB / 460.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4922, allocations: 0.6757 MB / 461.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.4927, allocations: 123.7 kB / 461.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.4941, allocations: 1.284 MB / 463 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.4949, allocations: 83.41 kB / 463 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.495, allocations: 39.98 kB / 463.1 MB, free: 6.711 MB / 346.7 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.0002018/0.4952, allocations: 130 kB / 463.2 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4954, allocations: 201.6 kB / 463.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4975, allocations: 1.111 MB / 464.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.4976, allocations: 4 kB / 464.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4976, allocations: 0 / 464.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4976, allocations: 0 / 464.5 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4988, allocations: 0.9156 MB / 465.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-05/0.4989, allocations: 71.98 kB / 465.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4992, allocations: 71.94 kB / 465.6 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.5002, allocations: 0.6585 MB / 466.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.5003, allocations: 20.11 kB / 466.2 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.5018, allocations: 1.256 MB / 467.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5019, allocations: 7.953 kB / 467.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.5038, allocations: 1.281 MB / 468.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.5043, allocations: 298.6 kB / 469.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.5045, allocations: 0 / 469.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.505, allocations: 47.95 kB / 469.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5051, allocations: 48.36 kB / 469.2 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.5052, allocations: 20 kB / 469.2 MB, free: 456 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.1731/0.6783, allocations: 0.8645 MB / 470.1 MB, free: 88.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6783, allocations: 2.594 kB / 470.1 MB, free: 88.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001503/0.6798, allocations: 454.3 kB / 470.5 MB, free: 88.76 MB / 346.7 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.0009966/0.6808, allocations: 0.5988 MB / 471.1 MB, free: 88.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6823, allocations: 0.709 MB / 471.8 MB, free: 88.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6823, allocations: 0 / 471.8 MB, free: 88.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.6831, allocations: 460.5 kB / 472.3 MB, free: 88.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.6838, allocations: 173.8 kB / 472.4 MB, free: 88.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.6879, allocations: 2.314 MB / 474.7 MB, free: 87.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.6886, allocations: 1.254 MB / 476 MB, free: 87.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000633/0.6893, allocations: 177.6 kB / 476.2 MB, free: 87.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6895, allocations: 80.92 kB / 476.3 MB, free: 87.21 MB / 346.7 MB Notification: Performance of SimCode: time 6.52e-07/0.6895, allocations: 0 / 476.3 MB, free: 87.21 MB / 346.7 MB Notification: Performance of Templates: time 0.02307/0.7126, allocations: 14.05 MB / 490.3 MB, free: 86.16 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)