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.001159/0.001165, allocations: 110.5 kB / 17.06 MB, free: 6.023 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.001035/0.001035, allocations: 191 kB / 18 MB, free: 5.105 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.002141/0.002141, allocations: 51.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1924/0.3118, allocations: 8.166 MB / 382.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3237, allocations: 10.96 MB / 393.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.325, allocations: 56.53 kB / 393.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.3272, allocations: 0.8157 MB / 394.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.3312, allocations: 1.217 MB / 395.7 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.3332, allocations: 0.6872 MB / 396.4 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004237/0.3375, allocations: 2.654 MB / 399 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.338, allocations: 349 kB / 399.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.3388, allocations: 0.5308 MB / 399.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.3395, allocations: 0.616 MB / 400.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.3396, allocations: 66.69 kB / 400.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.3415, allocations: 0.7207 MB / 401.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.3417, allocations: 217.6 kB / 401.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007099/0.3425, allocations: 0.7643 MB / 402.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.3452, allocations: 2.121 MB / 404.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3452, allocations: 0 / 404.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3452, allocations: 0 / 404.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.3452, allocations: 1.062 kB / 404.4 MB, free: 12.64 MB / 334.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.004026/0.3493, allocations: 2.215 MB / 406.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3493, allocations: 8.844 kB / 406.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.3497, allocations: 218.6 kB / 406.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3516, allocations: 1.303 MB / 408.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3517, allocations: 42.12 kB / 408.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3518, allocations: 56.75 kB / 408.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.3531, allocations: 0.6907 MB / 408.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3532, allocations: 0 / 408.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.3532, allocations: 24.33 kB / 409 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3533, allocations: 22.42 kB / 409 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3546, allocations: 0.5686 MB / 409.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.3586, allocations: 2.516 MB / 412.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.3602, allocations: 0.6208 MB / 412.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.3612, allocations: 0.5298 MB / 413.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.3726, allocations: 7.49 MB / 420.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009732/0.3737, allocations: 380.8 kB / 421.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 5.871e-06/0.3737, allocations: 0 / 421.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.006706/0.3804, allocations: 2.098 MB / 423.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.3806, allocations: 81.55 kB / 423.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.3825, allocations: 1.435 MB / 424.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.3826, allocations: 41.69 kB / 424.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.3833, allocations: 0.7977 MB / 425.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3836, allocations: 220.8 kB / 425.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.3838, allocations: 138.6 kB / 425.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.384, allocations: 337.9 kB / 426.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.3846, allocations: 257.8 kB / 426.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.3853, allocations: 458.3 kB / 426.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.3867, allocations: 0.7401 MB / 427.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3867, allocations: 0 / 427.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002359/0.3891, allocations: 1.136 MB / 428.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3891, allocations: 8 kB / 428.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.3892, allocations: 72 kB / 428.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.3904, allocations: 0.7019 MB / 429.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.3909, allocations: 111.8 kB / 429.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3922, allocations: 1.128 MB / 430.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.3931, allocations: 83.31 kB / 430.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.3932, allocations: 36 kB / 430.9 MB, free: 5.457 MB / 350.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 (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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005627/0.3938, allocations: 297.8 kB / 431.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.394, allocations: 201.6 kB / 431.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.3963, allocations: 1.088 MB / 432.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.3963, allocations: 8 kB / 432.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3963, allocations: 3.938 kB / 432.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3964, allocations: 7.922 kB / 432.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.3976, allocations: 0.9833 MB / 433.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.724e-05/0.3977, allocations: 68.88 kB / 433.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.3981, allocations: 59.94 kB / 433.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.3992, allocations: 0.6672 MB / 434.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.3992, allocations: 19.94 kB / 434.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.4005, allocations: 1.1 MB / 435.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4005, allocations: 2.75 kB / 435.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.4031, allocations: 1.343 MB / 436.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.4037, allocations: 282.5 kB / 437 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4039, allocations: 12 kB / 437.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.4044, allocations: 31.95 kB / 437.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4046, allocations: 48.38 kB / 437.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.4046, allocations: 28 kB / 437.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001208/0.4058, allocations: 0.9488 MB / 438.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4058, allocations: 0 / 438.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009683/0.4068, allocations: 431.4 kB / 438.5 MB, free: 13.68 MB / 366.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 (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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007744/0.4076, allocations: 482.7 kB / 439 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.4097, allocations: 0.8582 MB / 439.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4097, allocations: 0 / 439.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4109, allocations: 0.5254 MB / 440.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.4117, allocations: 188.1 kB / 440.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.4167, allocations: 3.004 MB / 443.6 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.4174, allocations: 1.22 MB / 444.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.4178, allocations: 158.1 kB / 444.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.418, allocations: 75.42 kB / 445 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.418, allocations: 0 / 445 MB, free: 7.086 MB / 366.1 MB Notification: Performance of Templates: time 0.02882/0.4468, allocations: 16.2 MB / 461.2 MB, free: 6.875 MB / 382.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)