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.001144/0.001144, allocations: 181.6 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.426/1.426, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001679/0.001679, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.247e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09351, allocations: 44.51 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4625, allocations: 87.04 MB / 436.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4628, allocations: 78.72 kB / 436.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1138/0.5766, allocations: 57.43 MB / 494 MB, free: 6.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5767, allocations: 0 / 494 MB, free: 6.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.328e-05/0.5767, allocations: 28 kB / 494 MB, free: 6.113 MB / 346.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.003188/0.5799, allocations: 1.729 MB / 495.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.58, allocations: 8.031 kB / 495.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.5803, allocations: 225.4 kB / 496 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5822, allocations: 1.251 MB / 497.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.5823, allocations: 50 kB / 497.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5824, allocations: 55.91 kB / 497.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5834, allocations: 0.6276 MB / 498 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5834, allocations: 3.984 kB / 498 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.5835, allocations: 20 kB / 498 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.5835, allocations: 23.98 kB / 498 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.5843, allocations: 465.2 kB / 498.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.5879, allocations: 2.598 MB / 0.4893 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.5887, allocations: 0.522 MB / 0.4898 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.5893, allocations: 491 kB / 0.4903 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.5999, allocations: 8.767 MB / 0.4988 GB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.6005, allocations: 334 kB / 0.4992 GB, free: 3.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 4.849e-06/0.6005, allocations: 7.922 kB / 0.4992 GB, free: 3.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.001593/0.6021, allocations: 0.8681 MB / 0.5 GB, free: 2.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.6022, allocations: 85.55 kB / 0.5001 GB, free: 2.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.6039, allocations: 1.25 MB / 0.5013 GB, free: 1.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.6039, allocations: 37.7 kB / 0.5014 GB, free: 1.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.6046, allocations: 0.7977 MB / 0.5021 GB, free: 204 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.6048, allocations: 228.9 kB / 0.5024 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.6049, allocations: 16 kB / 0.5024 GB, free: 15.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.605, allocations: 337.7 kB / 0.5027 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.6053, allocations: 193.8 kB / 0.5029 GB, free: 15.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.6058, allocations: 397.6 kB / 0.5033 GB, free: 14.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.6062, allocations: 261.7 kB / 0.5035 GB, free: 14.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.6062, allocations: 0 / 0.5035 GB, free: 14.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00152/0.6077, allocations: 1.029 MB / 0.5045 GB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6078, allocations: 7.281 kB / 0.5045 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.6079, allocations: 79.94 kB / 0.5046 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.609, allocations: 0.688 MB / 0.5053 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.6095, allocations: 127.8 kB / 0.5054 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.6108, allocations: 1.108 MB / 0.5065 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.6116, allocations: 95.3 kB / 0.5066 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.6116, allocations: 40 kB / 0.5066 GB, free: 11.49 MB / 378.7 MB 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.0001898/0.6118, allocations: 152.6 kB / 0.5067 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.6121, allocations: 201.7 kB / 0.5069 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.6142, allocations: 1.025 MB / 0.5079 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6142, allocations: 8 kB / 0.5079 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6143, allocations: 0 / 0.5079 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6143, allocations: 3.984 kB / 0.508 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.6156, allocations: 0.9987 MB / 0.5089 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.337e-05/0.6157, allocations: 67.98 kB / 0.509 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.616, allocations: 79.83 kB / 0.5091 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.6171, allocations: 0.674 MB / 0.5097 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.6172, allocations: 20 kB / 0.5097 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.6184, allocations: 1.073 MB / 0.5108 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6184, allocations: 0 / 0.5108 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.6202, allocations: 1.219 MB / 0.512 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.6207, allocations: 298.5 kB / 0.5123 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6208, allocations: 19.98 kB / 0.5123 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.6213, allocations: 43.97 kB / 0.5123 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6215, allocations: 48.36 kB / 0.5124 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.6216, allocations: 27.98 kB / 0.5124 GB, free: 5.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.6231, allocations: 0.9655 MB / 0.5133 GB, free: 4.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6231, allocations: 0 / 0.5133 GB, free: 4.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.6242, allocations: 487.1 kB / 0.5138 GB, free: 3.93 MB / 378.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.0008893/0.6251, allocations: 0.5489 MB / 0.5143 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.6266, allocations: 0.7335 MB / 0.5151 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6267, allocations: 0 / 0.5151 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.6276, allocations: 494.8 kB / 0.5155 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.6283, allocations: 182.9 kB / 0.5157 GB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.6331, allocations: 2.333 MB / 0.518 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.6339, allocations: 1.248 MB / 0.5192 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006014/0.6345, allocations: 179.2 kB / 0.5194 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.6346, allocations: 83.42 kB / 0.5195 GB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6346, allocations: 0 / 0.5195 GB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.02994/0.6646, allocations: 17.28 MB / 0.5363 GB, free: 12.73 MB / 410.7 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)