Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.00144/0.00144, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001153/0.001154, allocations: 191 kB / 19.29 MB, free: 3.848 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.349/1.349, allocations: 205.1 MB / 225.2 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.001141/0.001142, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09471, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00863/0.1034, allocations: 8.165 MB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.1165, allocations: 10.95 MB / 347.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.118, allocations: 55.56 kB / 347.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.1202, allocations: 0.8325 MB / 348.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.124, allocations: 1.207 MB / 349.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.1263, allocations: 0.6934 MB / 350.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.1303, allocations: 2.654 MB / 353.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.1309, allocations: 353.7 kB / 353.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.1316, allocations: 0.5325 MB / 354.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.1324, allocations: 0.6133 MB / 354.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1325, allocations: 68 kB / 354.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.134, allocations: 0.7065 MB / 355.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1342, allocations: 222.6 kB / 355.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006893/0.1349, allocations: 0.7686 MB / 356.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.1372, allocations: 2.113 MB / 358.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1373, allocations: 4 kB / 358.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.1373, allocations: 0 / 358.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1373, allocations: 3.938 kB / 358.7 MB, free: 5.664 MB / 302.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.003287/0.1406, allocations: 2.208 MB / 360.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1406, allocations: 12.03 kB / 360.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.1409, allocations: 230.2 kB / 361.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.1428, allocations: 1.3 MB / 362.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.1428, allocations: 45.31 kB / 362.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1429, allocations: 52 kB / 362.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1441, allocations: 0.69 MB / 363.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1441, allocations: 4 kB / 363.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.1442, allocations: 24 kB / 363.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1442, allocations: 23.92 kB / 363.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1454, allocations: 0.5673 MB / 363.8 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.149, allocations: 2.507 MB / 366.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1501, allocations: 0.6232 MB / 366.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.1511, allocations: 0.5415 MB / 367.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008914/0.16, allocations: 7.489 MB / 375 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007674/0.1608, allocations: 381.9 kB / 375.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.016e-06/0.1608, allocations: 4 kB / 375.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005707/0.1665, allocations: 2.075 MB / 377.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1666, allocations: 85.55 kB / 377.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2034/0.37, allocations: 1.433 MB / 378.9 MB, free: 54.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.3702, allocations: 36.19 kB / 379 MB, free: 54.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/0.3709, allocations: 0.795 MB / 379.8 MB, free: 54.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.3712, allocations: 234.6 kB / 380 MB, free: 54.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.3715, allocations: 141.7 kB / 380.1 MB, free: 54.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.167e-05/0.3716, allocations: 333.5 kB / 380.5 MB, free: 54.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.3722, allocations: 251.8 kB / 380.7 MB, free: 53.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.3729, allocations: 460 kB / 381.2 MB, free: 53.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.3742, allocations: 0.7388 MB / 381.9 MB, free: 53.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3742, allocations: 1.844 kB / 381.9 MB, free: 53.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002009/0.3762, allocations: 1.133 MB / 383 MB, free: 52.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3762, allocations: 7.938 kB / 383 MB, free: 52.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.3763, allocations: 75.75 kB / 383.1 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.3775, allocations: 0.6945 MB / 383.8 MB, free: 52.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.378, allocations: 115.8 kB / 383.9 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3791, allocations: 1.123 MB / 385 MB, free: 51.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.3798, allocations: 91.08 kB / 385.1 MB, free: 51.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.3798, allocations: 34.83 kB / 385.2 MB, free: 51.75 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 (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.0003963/0.3802, allocations: 292.2 kB / 385.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.3804, allocations: 198.6 kB / 385.6 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.3824, allocations: 1.085 MB / 386.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3824, allocations: 5.156 kB / 386.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3825, allocations: 2.375 kB / 386.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3825, allocations: 3.797 kB / 386.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3835, allocations: 0.9881 MB / 387.7 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.79e-05/0.3836, allocations: 68.2 kB / 387.8 MB, free: 50.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.384, allocations: 64.72 kB / 387.9 MB, free: 50.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.3851, allocations: 0.6694 MB / 388.5 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.3852, allocations: 22.23 kB / 388.5 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.3864, allocations: 1.094 MB / 389.6 MB, free: 49.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3864, allocations: 0 / 389.6 MB, free: 49.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.3889, allocations: 1.362 MB / 391 MB, free: 48.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.3893, allocations: 280.5 kB / 391.3 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.3895, allocations: 12.73 kB / 391.3 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.39, allocations: 30.25 kB / 391.3 MB, free: 48.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3901, allocations: 48.41 kB / 391.4 MB, free: 48.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.3902, allocations: 34.11 kB / 391.4 MB, free: 48.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.3913, allocations: 0.9489 MB / 392.3 MB, free: 48.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3913, allocations: 0 / 392.3 MB, free: 48.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000912/0.3923, allocations: 425.2 kB / 392.8 MB, free: 48.29 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 (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.0007499/0.393, allocations: 471.2 kB / 393.2 MB, free: 48.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.3949, allocations: 0.8636 MB / 394.1 MB, free: 47.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.395, allocations: 0 / 394.1 MB, free: 47.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.396, allocations: 0.5239 MB / 394.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.3966, allocations: 183.3 kB / 394.8 MB, free: 47.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.4006, allocations: 3.013 MB / 397.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4011, allocations: 1.22 MB / 399 MB, free: 45.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.4015, allocations: 165.1 kB / 399.2 MB, free: 45.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4017, allocations: 73.56 kB / 399.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4017, allocations: 0 / 399.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of Templates: time 0.02533/0.427, allocations: 16.08 MB / 415.3 MB, free: 29.62 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)