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.001097/0.001097, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001146/0.001146, allocations: 190 kB / 18.07 MB, free: 5.414 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001824/0.001824, allocations: 47.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1109, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00847/0.1194, allocations: 8.125 MB / 334.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1332, allocations: 11.18 MB / 345.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.1345, allocations: 15.94 kB / 345.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.1369, allocations: 0.7364 MB / 346.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.1411, allocations: 0.9913 MB / 347.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.1431, allocations: 0.5036 MB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.1471, allocations: 2.552 MB / 350.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.1476, allocations: 322.6 kB / 351 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.1482, allocations: 0.4935 MB / 351.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.1487, allocations: 0.6055 MB / 352.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.941e-05/0.1488, allocations: 47.94 kB / 352.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1504, allocations: 0.6909 MB / 352.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1506, allocations: 194.6 kB / 353 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.1511, allocations: 0.7491 MB / 353.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.153, allocations: 2.059 MB / 355.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.153, allocations: 0 / 355.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.153, allocations: 0 / 355.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.153, allocations: 0 / 355.8 MB, free: 7.5 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.003141/0.1562, allocations: 2.219 MB / 358.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1562, allocations: 8.031 kB / 358.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.1565, allocations: 222.3 kB / 358.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.158, allocations: 1.308 MB / 359.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1581, allocations: 45.25 kB / 359.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.1582, allocations: 52 kB / 359.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1595, allocations: 0.6939 MB / 360.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1595, allocations: 0 / 360.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.1595, allocations: 23.98 kB / 360.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1596, allocations: 12 kB / 360.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1608, allocations: 0.5712 MB / 361 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.1641, allocations: 2.526 MB / 363.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.1654, allocations: 0.6232 MB / 364.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/0.1663, allocations: 0.5338 MB / 364.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008795/0.1751, allocations: 7.496 MB / 372.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008474/0.176, allocations: 382 kB / 372.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.404e-06/0.176, allocations: 3.938 kB / 372.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005542/0.1815, allocations: 2.075 MB / 374.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.1816, allocations: 89.55 kB / 374.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.1834, allocations: 1.435 MB / 376.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.1835, allocations: 37.7 kB / 376.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/0.1841, allocations: 0.8016 MB / 377 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1843, allocations: 232.7 kB / 377.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1845, allocations: 138.6 kB / 377.3 MB, free: 448 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1846, allocations: 337.9 kB / 377.7 MB, free: 104 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1541/0.3387, allocations: 246.8 kB / 377.9 MB, free: 54.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3399, allocations: 456.8 kB / 378.4 MB, free: 54.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.3418, allocations: 0.7388 MB / 379.1 MB, free: 54.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.3419, allocations: 2.75 kB / 379.1 MB, free: 54.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003534/0.3454, allocations: 1.135 MB / 380.2 MB, free: 54.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3455, allocations: 7.031 kB / 380.2 MB, free: 54.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/0.3457, allocations: 76.05 kB / 380.3 MB, free: 54.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.3474, allocations: 0.6967 MB / 381 MB, free: 54.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.3481, allocations: 115.2 kB / 381.1 MB, free: 54.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.3499, allocations: 1.125 MB / 382.3 MB, free: 53.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.351, allocations: 82.94 kB / 382.3 MB, free: 53.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.3511, allocations: 40.23 kB / 382.4 MB, free: 53.53 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.0006635/0.3518, allocations: 292.5 kB / 382.7 MB, free: 53.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.3522, allocations: 199.7 kB / 382.9 MB, free: 53.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.3555, allocations: 1.095 MB / 383.9 MB, free: 52.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3555, allocations: 6 kB / 384 MB, free: 52.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3555, allocations: 3.125 kB / 384 MB, free: 52.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3555, allocations: 3.625 kB / 384 MB, free: 52.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.357, allocations: 0.9784 MB / 384.9 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.085e-05/0.3571, allocations: 70.25 kB / 385 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.3575, allocations: 57.38 kB / 385.1 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.3589, allocations: 0.6693 MB / 385.7 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.359, allocations: 22.06 kB / 385.8 MB, free: 52.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.3604, allocations: 1.09 MB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3604, allocations: 2.156 kB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.3636, allocations: 1.358 MB / 388.2 MB, free: 50.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.3642, allocations: 278.1 kB / 388.5 MB, free: 50.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3644, allocations: 12.25 kB / 388.5 MB, free: 50.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.3648, allocations: 39.19 kB / 388.5 MB, free: 50.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.365, allocations: 44.64 kB / 388.6 MB, free: 50.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.3651, allocations: 25.91 kB / 388.6 MB, free: 50.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.3667, allocations: 0.9495 MB / 389.5 MB, free: 50.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3667, allocations: 0 / 389.5 MB, free: 50.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001223/0.3679, allocations: 437 kB / 390 MB, free: 50.14 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.0008474/0.3688, allocations: 479.4 kB / 390.4 MB, free: 50 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.371, allocations: 0.8515 MB / 391.3 MB, free: 49.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3711, allocations: 0 / 391.3 MB, free: 49.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3722, allocations: 0.5181 MB / 391.8 MB, free: 49.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3733, allocations: 178.7 kB / 392 MB, free: 49.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.3784, allocations: 3.531 MB / 395.5 MB, free: 47.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3789, allocations: 1.214 MB / 396.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005466/0.3795, allocations: 165.2 kB / 396.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3796, allocations: 71.42 kB / 397 MB, free: 46.71 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3796, allocations: 0 / 397 MB, free: 46.71 MB / 318.1 MB Notification: Performance of Templates: time 0.02321/0.4028, allocations: 15.25 MB / 412.2 MB, free: 32.12 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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)