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.0009023/0.0009024, allocations: 96.78 kB / 16.93 MB, free: 5.984 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.0009347/0.000935, allocations: 179.7 kB / 17.82 MB, free: 5.652 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.613/1.613, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004941/0.0004942, allocations: 15.28 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009616/0.1258, allocations: 6.659 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.145, allocations: 9.614 MB / 344.6 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1469, allocations: 15.94 kB / 344.6 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.1503, allocations: 0.692 MB / 345.3 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.1572, allocations: 1.063 MB / 346.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.1599, allocations: 487.2 kB / 346.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006468/0.1664, allocations: 2.432 MB / 349.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.1675, allocations: 306.9 kB / 349.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1687, allocations: 457.7 kB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.17, allocations: 0.5474 MB / 350.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.1704, allocations: 40 kB / 350.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.1734, allocations: 0.6792 MB / 351.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1736, allocations: 174.8 kB / 351.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.1743, allocations: 348.7 kB / 351.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1764, allocations: 1.484 MB / 353.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1764, allocations: 4 kB / 353.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1764, allocations: 0 / 353.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.1764, allocations: 4 kB / 353.3 MB, free: 11.03 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.004608/0.1811, allocations: 1.991 MB / 355.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.1811, allocations: 8.031 kB / 355.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.1816, allocations: 221.4 kB / 355.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.1844, allocations: 1.216 MB / 356.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.1844, allocations: 41.31 kB / 356.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.1846, allocations: 59.98 kB / 356.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.1863, allocations: 0.7094 MB / 357.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1864, allocations: 0 / 357.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.1865, allocations: 28 kB / 357.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.1865, allocations: 15.98 kB / 357.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1879, allocations: 0.6141 MB / 358.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.1922, allocations: 2.557 MB / 360.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1935, allocations: 0.6545 MB / 361.4 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009707/0.2032, allocations: 7.532 MB / 368.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008321/0.2041, allocations: 413.9 kB / 369.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.457e-06/0.2042, allocations: 0 / 369.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005862/0.21, allocations: 2.11 MB / 371.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.2101, allocations: 85.55 kB / 371.5 MB, free: 7.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.2122, allocations: 1.419 MB / 372.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.2123, allocations: 41.69 kB / 373 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.213, allocations: 0.8093 MB / 373.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.2132, allocations: 220.7 kB / 374 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.2132, allocations: 16 kB / 374 MB, free: 4.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2134, allocations: 337.9 kB / 374.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.214, allocations: 269.9 kB / 374.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.2147, allocations: 474.3 kB / 375.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.2154, allocations: 334.8 kB / 375.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2155, allocations: 0 / 375.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002291/0.2178, allocations: 1.179 MB / 376.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.2178, allocations: 8 kB / 376.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.2179, allocations: 71.98 kB / 376.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.2192, allocations: 0.6996 MB / 377.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.2197, allocations: 123.8 kB / 377.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.221, allocations: 1.12 MB / 378.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1987/0.4197, allocations: 93.61 kB / 378.7 MB, free: 53.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.4199, allocations: 36.78 kB / 378.7 MB, free: 53.23 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.0007337/0.4206, allocations: 288.7 kB / 379 MB, free: 53.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4209, allocations: 202.5 kB / 379.2 MB, free: 53.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.4235, allocations: 1.143 MB / 380.4 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.4235, allocations: 7.844 kB / 380.4 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4235, allocations: 0 / 380.4 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.4236, allocations: 7.281 kB / 380.4 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.4253, allocations: 0.9772 MB / 381.4 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001192/0.4254, allocations: 68.25 kB / 381.4 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.4258, allocations: 69.52 kB / 381.5 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.4269, allocations: 0.6657 MB / 382.2 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.4269, allocations: 21.05 kB / 382.2 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.428, allocations: 1.091 MB / 383.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.428, allocations: 0.8906 kB / 383.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.4306, allocations: 1.413 MB / 384.7 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.4311, allocations: 289 kB / 385 MB, free: 51.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.4313, allocations: 12.69 kB / 385 MB, free: 51.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.4318, allocations: 45.08 kB / 385 MB, free: 51.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.4319, allocations: 51.67 kB / 385.1 MB, free: 51.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.432, allocations: 25.44 kB / 385.1 MB, free: 51.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.4335, allocations: 0.9269 MB / 386 MB, free: 51.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4336, allocations: 3.281 kB / 386 MB, free: 51.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4348, allocations: 434.9 kB / 386.4 MB, free: 51.07 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.000829/0.4356, allocations: 447 kB / 386.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4377, allocations: 0.8984 MB / 387.8 MB, free: 50.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4377, allocations: 1.562 kB / 387.8 MB, free: 50.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.439, allocations: 0.5433 MB / 388.3 MB, free: 50.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.4398, allocations: 174.8 kB / 388.5 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.4453, allocations: 3.425 MB / 391.9 MB, free: 48.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/0.446, allocations: 1.253 MB / 393.2 MB, free: 47.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005932/0.4466, allocations: 171.6 kB / 393.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.4468, allocations: 72.06 kB / 393.4 MB, free: 47.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4468, allocations: 0 / 393.4 MB, free: 47.82 MB / 318.1 MB Notification: Performance of Templates: time 0.02237/0.4692, allocations: 14.33 MB / 407.7 MB, free: 36.21 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: