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.001049/0.001049, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008757, allocations: 103.3 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.625e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 50.43 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4344, allocations: 92.94 MB / 480.4 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.4346, allocations: 77.83 kB / 480.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1207/0.5553, allocations: 58.15 MB / 0.526 GB, free: 7.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5554, allocations: 0 / 0.526 GB, free: 7.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.5555, allocations: 24 kB / 0.526 GB, free: 7.551 MB / 410.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.003874/0.5594, allocations: 1.728 MB / 0.5277 GB, free: 5.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5595, allocations: 19.92 kB / 0.5277 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.5599, allocations: 221.4 kB / 0.5279 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.5618, allocations: 1.247 MB / 0.5292 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.5619, allocations: 23.98 kB / 0.5292 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.562, allocations: 35.91 kB / 0.5292 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007665/0.5627, allocations: 442.5 kB / 0.5296 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.5636, allocations: 0.547 MB / 0.5302 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5637, allocations: 4 kB / 0.5302 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.5637, allocations: 3.984 kB / 0.5302 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5637, allocations: 16 kB / 0.5302 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.5673, allocations: 2.487 MB / 0.5326 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.568, allocations: 0.5029 MB / 0.5331 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.5686, allocations: 479 kB / 0.5336 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.5789, allocations: 8.765 MB / 0.5421 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.5794, allocations: 305.2 kB / 0.5424 GB, free: 5.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.5795, allocations: 3.938 kB / 0.5424 GB, free: 5.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.001806/0.5813, allocations: 0.9499 MB / 0.5434 GB, free: 4.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.5814, allocations: 101.5 kB / 0.5434 GB, free: 4.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.5829, allocations: 1.148 MB / 0.5446 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.583, allocations: 29.64 kB / 0.5446 GB, free: 2.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.5836, allocations: 0.7937 MB / 0.5454 GB, free: 2.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.5838, allocations: 212.9 kB / 0.5456 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.5838, allocations: 0 / 0.5456 GB, free: 1.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.584, allocations: 341.9 kB / 0.5459 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5842, allocations: 178.1 kB / 0.5461 GB, free: 1.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.5847, allocations: 381.8 kB / 0.5464 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.5853, allocations: 360 kB / 0.5468 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5854, allocations: 4 kB / 0.5468 GB, free: 500 kB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.2305/0.8158, allocations: 1.048 MB / 0.5478 GB, free: 108.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.8159, allocations: 8.562 kB / 0.5478 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.8161, allocations: 73.39 kB / 0.5479 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.8174, allocations: 0.6742 MB / 0.5485 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.818, allocations: 121.7 kB / 0.5487 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.8197, allocations: 1.281 MB / 0.5499 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/0.8206, allocations: 89.45 kB / 0.55 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.8207, allocations: 37.83 kB / 0.55 GB, free: 107.8 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of 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.0002277/0.821, allocations: 126.4 kB / 0.5502 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.8212, allocations: 202.1 kB / 0.5503 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.8237, allocations: 1.097 MB / 0.5514 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.8238, allocations: 7.094 kB / 0.5514 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8238, allocations: 0 / 0.5514 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.8238, allocations: 3.938 kB / 0.5514 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.8252, allocations: 0.9171 MB / 0.5523 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.844e-05/0.8253, allocations: 67.09 kB / 0.5524 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.8257, allocations: 72.47 kB / 0.5525 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.8268, allocations: 0.6635 MB / 0.5531 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.8268, allocations: 18.48 kB / 0.5531 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.8283, allocations: 1.258 MB / 0.5544 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8283, allocations: 1.938 kB / 0.5544 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.8303, allocations: 1.289 MB / 0.5556 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.8308, allocations: 295.6 kB / 0.5559 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.831, allocations: 7.984 kB / 0.5559 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.8315, allocations: 40.06 kB / 0.5559 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.8316, allocations: 49.25 kB / 0.556 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.8317, allocations: 24.92 kB / 0.556 GB, free: 106.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001327/0.833, allocations: 0.8656 MB / 0.5569 GB, free: 106.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.833, allocations: 0 / 0.5569 GB, free: 106.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00114/0.8342, allocations: 451.3 kB / 0.5573 GB, free: 106.2 MB / 426.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.001021/0.8352, allocations: 0.6096 MB / 0.5579 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.8367, allocations: 0.7057 MB / 0.5586 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8367, allocations: 3.219 kB / 0.5586 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000859/0.8375, allocations: 459.4 kB / 0.559 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.8384, allocations: 201.3 kB / 0.5592 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.843, allocations: 2.303 MB / 0.5615 GB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009606/0.844, allocations: 1.253 MB / 0.5627 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007265/0.8447, allocations: 181.5 kB / 0.5628 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.8449, allocations: 83.14 kB / 0.5629 GB, free: 104.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.8449, allocations: 0 / 0.5629 GB, free: 104.6 MB / 426.7 MB Notification: Performance of Templates: time 0.02587/0.8708, allocations: 14.08 MB / 0.5767 GB, free: 103.5 MB / 426.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)