Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001305/0.001305, allocations: 112 kB / 17.07 MB, free: 5.992 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.001421/0.001422, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009866/0.0009866, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2717, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00779/0.2796, allocations: 8.332 MB / 409.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.291, allocations: 11.28 MB / 420.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.2923, allocations: 59.5 kB / 420.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.2947, allocations: 0.8442 MB / 421.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.2981, allocations: 1.219 MB / 422.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.2998, allocations: 0.7012 MB / 423.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003922/0.3038, allocations: 2.697 MB / 425.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.3043, allocations: 353.7 kB / 426.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.3051, allocations: 0.5559 MB / 426.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.3057, allocations: 0.6211 MB / 427.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3059, allocations: 64 kB / 427.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.3076, allocations: 0.7804 MB / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3078, allocations: 226.6 kB / 428.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.3084, allocations: 0.7647 MB / 429.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.3107, allocations: 2.131 MB / 431.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.3107, allocations: 4 kB / 431.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3107, allocations: 3.938 kB / 431.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.537e-05/0.3108, allocations: 0 / 431.3 MB, free: 10.12 MB / 350.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.00332/0.3141, allocations: 2.273 MB / 433.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3141, allocations: 12.03 kB / 433.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3144, allocations: 235.5 kB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.3161, allocations: 1.322 MB / 435.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.3161, allocations: 45.25 kB / 435.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3162, allocations: 55.95 kB / 435.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3175, allocations: 0.6939 MB / 436 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3175, allocations: 3.938 kB / 436 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.3176, allocations: 24 kB / 436 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.3176, allocations: 15.98 kB / 436 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3189, allocations: 0.5712 MB / 436.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.3221, allocations: 2.515 MB / 439.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.3233, allocations: 0.6232 MB / 439.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/0.3241, allocations: 0.5377 MB / 440.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007932/0.332, allocations: 7.5 MB / 447.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007472/0.3328, allocations: 382 kB / 448.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.195e-06/0.3328, allocations: 0 / 448.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005444/0.3383, allocations: 2.08 MB / 450.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3384, allocations: 93.53 kB / 450.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.3399, allocations: 1.435 MB / 451.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.34, allocations: 41.64 kB / 451.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.3406, allocations: 0.8102 MB / 452.6 MB, free: 3.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.3407, allocations: 238 kB / 452.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.3409, allocations: 138.6 kB / 453 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3411, allocations: 334 kB / 453.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.3416, allocations: 253.8 kB / 453.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.3423, allocations: 455 kB / 454 MB, free: 1.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.3436, allocations: 0.7363 MB / 454.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3436, allocations: 4 kB / 454.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001896/0.3455, allocations: 1.145 MB / 455.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3455, allocations: 11.94 kB / 455.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-05/0.3456, allocations: 75.98 kB / 455.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3467, allocations: 0.6953 MB / 456.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.3472, allocations: 111.8 kB / 456.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3484, allocations: 1.139 MB / 457.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.349, allocations: 83.55 kB / 458 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.3491, allocations: 40 kB / 458 MB, free: 13.68 MB / 382.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.0004189/0.3495, allocations: 295.3 kB / 458.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.3497, allocations: 210.7 kB / 458.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.3518, allocations: 1.092 MB / 459.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3519, allocations: 4 kB / 459.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3519, allocations: 7.938 kB / 459.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3519, allocations: 3.984 kB / 459.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009908/0.3529, allocations: 0.964 MB / 460.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.591e-05/0.353, allocations: 71.98 kB / 460.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.3533, allocations: 55.94 kB / 460.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3543, allocations: 0.675 MB / 461.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.3544, allocations: 19.98 kB / 461.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.3555, allocations: 1.092 MB / 462.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3556, allocations: 0 / 462.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.3579, allocations: 1.36 MB / 463.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.3583, allocations: 291.6 kB / 464.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.3584, allocations: 15.94 kB / 464.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.3589, allocations: 35.95 kB / 464.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.359, allocations: 48.38 kB / 464.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.3591, allocations: 24 kB / 464.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.3601, allocations: 0.9488 MB / 465.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3601, allocations: 0 / 465.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008396/0.361, allocations: 431 kB / 465.6 MB, free: 5.898 MB / 382.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.0007422/0.3617, allocations: 497.9 kB / 466.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3636, allocations: 0.8467 MB / 467 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3636, allocations: 4 kB / 467 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.3647, allocations: 0.5291 MB / 467.5 MB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.3656, allocations: 215 kB / 467.7 MB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.3702, allocations: 3.071 MB / 470.8 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.3708, allocations: 1.216 MB / 472 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.3712, allocations: 162.1 kB / 472.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3714, allocations: 79.44 kB / 472.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3714, allocations: 0 / 472.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02647/0.3979, allocations: 16.18 MB / 488.4 MB, free: 15.07 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)