Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 180.2 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009839/0.000984, allocations: 93.27 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002811, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4519, allocations: 91.42 MB / 467.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4522, allocations: 75.97 kB / 467.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.317/0.7692, allocations: 57.53 MB / 0.5125 GB, free: 94.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7693, allocations: 0 / 0.5125 GB, free: 94.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.7694, allocations: 26.94 kB / 0.5126 GB, free: 94.52 MB / 378.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.005482/0.7749, allocations: 2.079 MB / 0.5146 GB, free: 93.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.775, allocations: 6.656 kB / 0.5146 GB, free: 93.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.7756, allocations: 230 kB / 0.5148 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.7782, allocations: 1.265 MB / 0.516 GB, free: 92.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.7783, allocations: 39.66 kB / 0.5161 GB, free: 92.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.7785, allocations: 59.12 kB / 0.5161 GB, free: 92.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.7799, allocations: 0.7066 MB / 0.5168 GB, free: 92.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.7799, allocations: 7.078 kB / 0.5168 GB, free: 92.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.78, allocations: 19.62 kB / 0.5169 GB, free: 92.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.7801, allocations: 19.69 kB / 0.5169 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.7813, allocations: 0.6193 MB / 0.5175 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.7861, allocations: 2.59 MB / 0.52 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.7873, allocations: 0.6677 MB / 0.5207 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009649/0.7969, allocations: 8.678 MB / 0.5291 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008418/0.7978, allocations: 402.3 kB / 0.5295 GB, free: 82.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 3.596e-06/0.7979, allocations: 3.938 kB / 0.5295 GB, free: 82.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.006159/0.804, allocations: 2.213 MB / 0.5317 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.8041, allocations: 83.45 kB / 0.5318 GB, free: 81.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.8063, allocations: 1.27 MB / 0.533 GB, free: 80.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.8063, allocations: 37.7 kB / 0.533 GB, free: 80.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.8069, allocations: 0.8016 MB / 0.5338 GB, free: 79.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.8071, allocations: 220.8 kB / 0.534 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.8071, allocations: 12 kB / 0.534 GB, free: 79.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.8072, allocations: 338 kB / 0.5344 GB, free: 78.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.8078, allocations: 275.2 kB / 0.5346 GB, free: 78.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/0.8086, allocations: 478.2 kB / 0.5351 GB, free: 78.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.8093, allocations: 330.9 kB / 0.5354 GB, free: 77.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.8093, allocations: 0 / 0.5354 GB, free: 77.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002172/0.8115, allocations: 1.175 MB / 0.5366 GB, free: 76.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.8115, allocations: 9.812 kB / 0.5366 GB, free: 76.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-05/0.8116, allocations: 71.98 kB / 0.5366 GB, free: 76.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.8128, allocations: 0.699 MB / 0.5373 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.8132, allocations: 115.9 kB / 0.5374 GB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.8144, allocations: 1.126 MB / 0.5385 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/0.8153, allocations: 103.3 kB / 0.5386 GB, free: 74.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.8154, allocations: 43.94 kB / 0.5387 GB, free: 74.45 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 () * Number of clocked 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.000702/0.8161, allocations: 284.8 kB / 0.5389 GB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.8165, allocations: 205.5 kB / 0.5391 GB, free: 73.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.819, allocations: 1.177 MB / 0.5403 GB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.819, allocations: 15.94 kB / 0.5403 GB, free: 72.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.819, allocations: 0 / 0.5403 GB, free: 72.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.819, allocations: 3.984 kB / 0.5403 GB, free: 72.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.8205, allocations: 1.007 MB / 0.5413 GB, free: 71.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.961e-05/0.8206, allocations: 69.98 kB / 0.5413 GB, free: 71.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.821, allocations: 71.94 kB / 0.5414 GB, free: 71.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.8219, allocations: 0.6664 MB / 0.5421 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.822, allocations: 19.98 kB / 0.5421 GB, free: 70.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.8231, allocations: 1.084 MB / 0.5431 GB, free: 69.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8231, allocations: 0 / 0.5431 GB, free: 69.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.8256, allocations: 1.452 MB / 0.5446 GB, free: 68.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.8262, allocations: 298.5 kB / 0.5448 GB, free: 67.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.8266, allocations: 15.98 kB / 0.5449 GB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.8272, allocations: 47.97 kB / 0.5449 GB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.8273, allocations: 51.88 kB / 0.545 GB, free: 67.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.8274, allocations: 23.98 kB / 0.545 GB, free: 67.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.8289, allocations: 0.9839 MB / 0.5459 GB, free: 66.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.829, allocations: 4 kB / 0.5459 GB, free: 66.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001433/0.8304, allocations: 483.1 kB / 0.5464 GB, free: 66.36 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) * Number of clocked states: 0 () * 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.001309/0.8317, allocations: 0.5527 MB / 0.5469 GB, free: 65.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.834, allocations: 0.8973 MB / 0.5478 GB, free: 64.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.834, allocations: 0 / 0.5478 GB, free: 64.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.8351, allocations: 0.5447 MB / 0.5484 GB, free: 64.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.8361, allocations: 175.8 kB / 0.5485 GB, free: 64.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.8421, allocations: 3.402 MB / 0.5518 GB, free: 60.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.8429, allocations: 1.256 MB / 0.5531 GB, free: 59.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007375/0.8436, allocations: 179.2 kB / 0.5532 GB, free: 59.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.8438, allocations: 79.44 kB / 0.5533 GB, free: 59.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8438, allocations: 0 / 0.5533 GB, free: 59.19 MB / 378.7 MB Notification: Performance of Templates: time 0.03239/0.8762, allocations: 16.52 MB / 0.5695 GB, free: 42.68 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)