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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 90.48 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 180.7 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 223.4 MB, free: 5.582 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005386, allocations: 16 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3415, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007528/0.3491, allocations: 7.154 MB / 334.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.3651, allocations: 10.02 MB / 344.9 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.3678, allocations: 15.94 kB / 344.9 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.3708, allocations: 0.6525 MB / 345.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.3767, allocations: 0.9235 MB / 346.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.379, allocations: 474.9 kB / 347 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.3837, allocations: 2.433 MB / 349.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.3843, allocations: 302.9 kB / 349.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.3849, allocations: 461.7 kB / 350.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.3856, allocations: 0.5474 MB / 350.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.3857, allocations: 40 kB / 350.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.3875, allocations: 0.6401 MB / 351.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3877, allocations: 174.8 kB / 351.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.388, allocations: 344.7 kB / 351.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3895, allocations: 1.527 MB / 353.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3895, allocations: 4 kB / 353.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3895, allocations: 0 / 353.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3896, allocations: 0 / 353.4 MB, free: 9.738 MB / 286.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.003115/0.3927, allocations: 1.987 MB / 355.4 MB, free: 7.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.3928, allocations: 11.97 kB / 355.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.393, allocations: 229.3 kB / 355.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3947, allocations: 1.224 MB / 356.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.3948, allocations: 37.31 kB / 356.9 MB, free: 6.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/0.3949, allocations: 55.98 kB / 356.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3961, allocations: 0.7134 MB / 357.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3962, allocations: 0 / 357.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.3962, allocations: 27.98 kB / 357.7 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3963, allocations: 12 kB / 357.7 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3975, allocations: 0.6219 MB / 358.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.4011, allocations: 2.535 MB / 360.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.4023, allocations: 0.6623 MB / 361.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.4032, allocations: 0.5611 MB / 362.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009336/0.4125, allocations: 7.52 MB / 369.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008624/0.4134, allocations: 405.9 kB / 370 MB, free: 7.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.858e-06/0.4134, allocations: 0 / 370 MB, free: 7.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005626/0.419, allocations: 2.094 MB / 372.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.4192, allocations: 89.53 kB / 372.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.4213, allocations: 1.419 MB / 373.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.4213, allocations: 33.7 kB / 373.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.4221, allocations: 0.8054 MB / 374.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.4223, allocations: 228.7 kB / 374.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.4224, allocations: 12 kB / 374.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4226, allocations: 338 kB / 375 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.4232, allocations: 277.8 kB / 375.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.4239, allocations: 478.2 kB / 375.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.4246, allocations: 326.9 kB / 376 MB, free: 1.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.4246, allocations: 4 kB / 376 MB, free: 1.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002217/0.4269, allocations: 1.179 MB / 377.2 MB, free: 264 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4269, allocations: 12.02 kB / 377.2 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/0.427, allocations: 76 kB / 377.3 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.4283, allocations: 0.6991 MB / 378 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.4288, allocations: 127.8 kB / 378.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.4302, allocations: 1.12 MB / 379.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.4309, allocations: 99.31 kB / 379.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.431, allocations: 36 kB / 379.4 MB, free: 14.06 MB / 318.1 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.0005485/0.4315, allocations: 289.6 kB / 379.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.4318, allocations: 205.6 kB / 379.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.4343, allocations: 1.127 MB / 381 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.4343, allocations: 8 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4344, allocations: 3.938 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.4344, allocations: 7.938 kB / 381 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.4358, allocations: 0.9715 MB / 382 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/0.4359, allocations: 71.98 kB / 382.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.4362, allocations: 67.88 kB / 382.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.4374, allocations: 0.6597 MB / 382.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.4374, allocations: 23.98 kB / 382.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.4388, allocations: 1.088 MB / 383.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4389, allocations: 0 / 383.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.4416, allocations: 1.413 MB / 385.3 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.4421, allocations: 282.5 kB / 385.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.4423, allocations: 15.95 kB / 385.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.4428, allocations: 56.14 kB / 385.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4429, allocations: 44.38 kB / 385.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.443, allocations: 31.98 kB / 385.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.4442, allocations: 0.9331 MB / 386.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4442, allocations: 0 / 386.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4453, allocations: 431.5 kB / 387.1 MB, free: 6.184 MB / 318.1 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.0008682/0.4462, allocations: 452.1 kB / 387.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.4483, allocations: 0.9053 MB / 388.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4484, allocations: 0 / 388.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4495, allocations: 0.5524 MB / 389 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.4503, allocations: 182.9 kB / 389.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.4562, allocations: 3.426 MB / 392.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/0.4571, allocations: 1.22 MB / 393.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.4578, allocations: 162.1 kB / 394 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4579, allocations: 71.44 kB / 394 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4579, allocations: 0 / 394 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.03069/0.4886, allocations: 14.84 MB / 408.9 MB, free: 272 kB / 334.1 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)