Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 176.3 kB / 17.4 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 241.4 MB, free: 9.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.0007821, allocations: 97.62 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09977/0.3442, allocations: 93.76 MB / 496.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3445, allocations: 75.97 kB / 496.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2623/0.6068, allocations: 60.55 MB / 0.5441 GB, free: 69.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6068, allocations: 0 / 0.5441 GB, free: 69.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.183e-05/0.6069, allocations: 28 kB / 0.5441 GB, free: 69.38 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.003448/0.6104, allocations: 2.056 MB / 0.5461 GB, free: 67.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6104, allocations: 8.031 kB / 0.5461 GB, free: 67.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.6108, allocations: 222.3 kB / 0.5463 GB, free: 67.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.6124, allocations: 1.344 MB / 0.5476 GB, free: 65.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.6125, allocations: 37.69 kB / 0.5477 GB, free: 65.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6126, allocations: 64.36 kB / 0.5477 GB, free: 65.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.6137, allocations: 0.718 MB / 0.5484 GB, free: 64.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6138, allocations: 0 / 0.5484 GB, free: 64.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.6138, allocations: 23.94 kB / 0.5485 GB, free: 64.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.6139, allocations: 20 kB / 0.5485 GB, free: 64.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.615, allocations: 0.6142 MB / 0.5491 GB, free: 64.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.6183, allocations: 2.573 MB / 0.5516 GB, free: 61.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.6193, allocations: 0.6662 MB / 0.5522 GB, free: 60.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.62, allocations: 0.5744 MB / 0.5528 GB, free: 60.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007296/0.6273, allocations: 8.661 MB / 0.5613 GB, free: 50.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006653/0.628, allocations: 413.9 kB / 0.5616 GB, free: 49.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.455e-06/0.6281, allocations: 0 / 0.5616 GB, free: 49.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.00482/0.6329, allocations: 2.137 MB / 0.5637 GB, free: 47.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.6329, allocations: 93.48 kB / 0.5638 GB, free: 47.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.6344, allocations: 1.489 MB / 0.5653 GB, free: 45.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.6345, allocations: 37.7 kB / 0.5653 GB, free: 45.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.635, allocations: 0.8016 MB / 0.5661 GB, free: 45.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.6351, allocations: 224.8 kB / 0.5663 GB, free: 44.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.6351, allocations: 11.94 kB / 0.5663 GB, free: 44.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.6352, allocations: 341.9 kB / 0.5666 GB, free: 44.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.6357, allocations: 265.9 kB / 0.5669 GB, free: 44.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.6363, allocations: 490.3 kB / 0.5674 GB, free: 43.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6374, allocations: 0.7676 MB / 0.5681 GB, free: 42.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6374, allocations: 0 / 0.5681 GB, free: 42.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001762/0.6392, allocations: 1.175 MB / 0.5693 GB, free: 41.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6392, allocations: 8 kB / 0.5693 GB, free: 41.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/0.6393, allocations: 76.06 kB / 0.5693 GB, free: 41.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/0.6403, allocations: 0.6951 MB / 0.57 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.6408, allocations: 119.9 kB / 0.5701 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.6418, allocations: 1.124 MB / 0.5712 GB, free: 39.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.6426, allocations: 103.3 kB / 0.5713 GB, free: 39.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.6426, allocations: 39.94 kB / 0.5714 GB, free: 39.46 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.0004948/0.6431, allocations: 285.4 kB / 0.5716 GB, free: 39.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6433, allocations: 201.6 kB / 0.5718 GB, free: 38.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.6455, allocations: 1.169 MB / 0.573 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6455, allocations: 8 kB / 0.573 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6455, allocations: 0 / 0.573 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6455, allocations: 3.984 kB / 0.573 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6466, allocations: 1.011 MB / 0.574 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.114e-05/0.6466, allocations: 67.98 kB / 0.574 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.647, allocations: 71.94 kB / 0.5741 GB, free: 36.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008597/0.6478, allocations: 0.6779 MB / 0.5748 GB, free: 35.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.6479, allocations: 20 kB / 0.5748 GB, free: 35.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009571/0.6489, allocations: 1.089 MB / 0.5759 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6489, allocations: 128 / 0.5759 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.6511, allocations: 1.448 MB / 0.5773 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.6515, allocations: 294.5 kB / 0.5776 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.6517, allocations: 15.98 kB / 0.5776 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.6522, allocations: 39.97 kB / 0.5776 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6523, allocations: 56.3 kB / 0.5777 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.6524, allocations: 27.98 kB / 0.5777 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.6535, allocations: 0.98 MB / 0.5786 GB, free: 31.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6535, allocations: 0 / 0.5786 GB, free: 31.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009466/0.6545, allocations: 491.1 kB / 0.5791 GB, free: 31.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.0007669/0.6552, allocations: 0.5494 MB / 0.5796 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.657, allocations: 0.9013 MB / 0.5805 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.657, allocations: 0 / 0.5805 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.658, allocations: 0.5409 MB / 0.5811 GB, free: 29.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.659, allocations: 208 kB / 0.5813 GB, free: 29.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.6637, allocations: 3.422 MB / 0.5846 GB, free: 25.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.6643, allocations: 1.217 MB / 0.5858 GB, free: 24.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006442/0.665, allocations: 179.2 kB / 0.586 GB, free: 24.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6652, allocations: 79.44 kB / 0.586 GB, free: 24.17 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6652, allocations: 4 kB / 0.586 GB, free: 24.17 MB / 378.7 MB Notification: Performance of Templates: time 0.02745/0.6926, allocations: 17.38 MB / 0.603 GB, free: 6.852 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)