Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001682, allocations: 113.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002157, allocations: 208.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.496/2.496, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4515, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.02051/0.4721, allocations: 8.32 MB / 418.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03043/0.5026, allocations: 11.33 MB / 429.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.5053, allocations: 59.5 kB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.5096, allocations: 0.8481 MB / 430.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007753/0.5174, allocations: 1.22 MB / 431.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.5216, allocations: 0.7051 MB / 432.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.5337, allocations: 2.724 MB / 435.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009743/0.5347, allocations: 361.7 kB / 435.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5361, allocations: 0.5559 MB / 436 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5374, allocations: 0.6172 MB / 436.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.5376, allocations: 68 kB / 436.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.5406, allocations: 0.7962 MB / 437.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.5411, allocations: 218.6 kB / 437.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.5425, allocations: 0.7686 MB / 438.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009428/0.5519, allocations: 2.125 MB / 440.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.552, allocations: 0 / 440.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.552, allocations: 0 / 440.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.5521, allocations: 0 / 440.6 MB, free: 2.762 MB / 350.1 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.005517/0.5576, allocations: 2.219 MB / 442.9 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.5577, allocations: 12.03 kB / 442.9 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.5584, allocations: 230.3 kB / 443.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.5621, allocations: 1.301 MB / 444.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.5622, allocations: 53.19 kB / 444.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.5624, allocations: 52 kB / 444.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.5648, allocations: 0.6938 MB / 445.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.5648, allocations: 0 / 445.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.565, allocations: 24 kB / 445.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.565, allocations: 19.98 kB / 445.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.5675, allocations: 0.5673 MB / 445.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006881/0.5744, allocations: 2.511 MB / 448.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.5763, allocations: 0.6232 MB / 448.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.5778, allocations: 0.5338 MB / 449.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.5894, allocations: 5.895 MB / 455.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.5909, allocations: 399.3 kB / 455.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 4.959e-06/0.591, allocations: 0 / 455.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01194/0.6029, allocations: 2.429 MB / 458.2 MB, free: 76 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.6031, allocations: 93.7 kB / 458.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.6064, allocations: 1.422 MB / 459.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.6065, allocations: 37.7 kB / 459.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.6077, allocations: 0.7823 MB / 460.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.6082, allocations: 244.5 kB / 460.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.6086, allocations: 138.6 kB / 460.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6088, allocations: 349.9 kB / 461.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.61, allocations: 257.8 kB / 461.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.6114, allocations: 450.1 kB / 461.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.6173, allocations: 1.552 MB / 463.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6174, allocations: 4 kB / 463.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003679/0.621, allocations: 1.152 MB / 464.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.6211, allocations: 14.75 kB / 464.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.6213, allocations: 80 kB / 464.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.6229, allocations: 0.5983 MB / 465.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.624, allocations: 135.7 kB / 465.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.6263, allocations: 1.53 MB / 467 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6288, allocations: 87.25 kB / 467.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.6289, allocations: 32 kB / 467.1 MB, free: 6.863 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.63, allocations: 305.6 kB / 467.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.6305, allocations: 197.7 kB / 467.6 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.6344, allocations: 1.165 MB / 468.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.6345, allocations: 11.98 kB / 468.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6345, allocations: 0 / 468.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6345, allocations: 0 / 468.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6367, allocations: 1.01 MB / 469.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001866/0.6369, allocations: 76 kB / 469.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.6378, allocations: 63.94 kB / 469.9 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/0.64, allocations: 0.6514 MB / 470.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6401, allocations: 35.92 kB / 470.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.6425, allocations: 1.141 MB / 471.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6425, allocations: 0 / 471.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.6478, allocations: 1.436 MB / 473.2 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008216/0.6487, allocations: 278.6 kB / 473.4 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.649, allocations: 15.94 kB / 473.5 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.6499, allocations: 39.95 kB / 473.5 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.6501, allocations: 52.5 kB / 473.6 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.6503, allocations: 20 kB / 473.6 MB, free: 232 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002252/0.6525, allocations: 0.9484 MB / 474.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6526, allocations: 0 / 474.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001716/0.6543, allocations: 427.5 kB / 474.9 MB, free: 14.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.6556, allocations: 499.9 kB / 475.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003512/0.6592, allocations: 0.8698 MB / 476.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.6592, allocations: 4.125 kB / 476.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.6616, allocations: 0.5509 MB / 476.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.6634, allocations: 218.9 kB / 477.1 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009/0.6724, allocations: 2.997 MB / 480.1 MB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.6737, allocations: 1.22 MB / 481.3 MB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.674, allocations: 75.44 kB / 481.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6741, allocations: 0 / 481.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.06516/0.7392, allocations: 28.8 MB / 0.4982 GB, free: 11.5 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)