Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008997/0.0008996, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001032/0.001033, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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.0004586/0.0004587, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007426/0.2761, allocations: 7.147 MB / 333.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2911, allocations: 10.02 MB / 343.6 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.2934, allocations: 15.94 kB / 343.7 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.2961, allocations: 0.6602 MB / 344.3 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.3014, allocations: 0.9274 MB / 345.2 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.3036, allocations: 474.9 kB / 345.7 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005469/0.3091, allocations: 2.417 MB / 348.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.3101, allocations: 302.9 kB / 348.4 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3113, allocations: 469.7 kB / 348.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3125, allocations: 0.5435 MB / 349.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.3128, allocations: 36 kB / 349.5 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.3153, allocations: 0.644 MB / 350.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.3155, allocations: 178.8 kB / 350.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.3162, allocations: 344.7 kB / 350.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.3184, allocations: 1.519 MB / 352.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3184, allocations: 0 / 352.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3184, allocations: 4 kB / 352.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.154e-05/0.3185, allocations: 3.938 kB / 352.1 MB, free: 9.73 MB / 286.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.003942/0.3224, allocations: 1.999 MB / 354.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3225, allocations: 12.03 kB / 354.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000445/0.3229, allocations: 221.3 kB / 354.4 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.3251, allocations: 1.216 MB / 355.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.3251, allocations: 45.3 kB / 355.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3253, allocations: 52 kB / 355.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3268, allocations: 0.7134 MB / 356.4 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3268, allocations: 0 / 356.4 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.3269, allocations: 20 kB / 356.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.3269, allocations: 19.98 kB / 356.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3282, allocations: 0.618 MB / 357 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.3327, allocations: 2.543 MB / 359.6 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.334, allocations: 0.6701 MB / 360.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009304/0.335, allocations: 0.5572 MB / 360.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009383/0.3444, allocations: 7.512 MB / 368.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/0.3452, allocations: 401.9 kB / 368.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.965e-06/0.3452, allocations: 4 kB / 368.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005544/0.3507, allocations: 2.094 MB / 370.8 MB, free: 5.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.3508, allocations: 89.55 kB / 370.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.3528, allocations: 1.419 MB / 372.3 MB, free: 4.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3529, allocations: 37.7 kB / 372.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/0.3536, allocations: 0.8055 MB / 373.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3539, allocations: 224.8 kB / 373.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3539, allocations: 8 kB / 373.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3541, allocations: 345.9 kB / 373.7 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.3548, allocations: 269.9 kB / 374 MB, free: 2.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/0.3555, allocations: 482.2 kB / 374.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.3562, allocations: 331 kB / 374.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3562, allocations: 0 / 374.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002184/0.3584, allocations: 1.183 MB / 376 MB, free: 248 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3585, allocations: 12.12 kB / 376 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.3586, allocations: 68 kB / 376.1 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.3598, allocations: 0.6991 MB / 376.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3603, allocations: 123.8 kB / 376.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.3617, allocations: 1.128 MB / 378 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.3624, allocations: 111.2 kB / 378.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/0.3625, allocations: 39.94 kB / 378.1 MB, free: 14.04 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.000632/0.3631, allocations: 285.7 kB / 378.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.3634, allocations: 201.6 kB / 378.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.3658, allocations: 1.134 MB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3659, allocations: 4 kB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3659, allocations: 0 / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3659, allocations: 3.953 kB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3673, allocations: 0.9715 MB / 380.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001046/0.3674, allocations: 72 kB / 380.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.3678, allocations: 79.81 kB / 380.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.3689, allocations: 0.6597 MB / 381.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.369, allocations: 23.97 kB / 381.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.3703, allocations: 1.092 MB / 382.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3703, allocations: 0 / 382.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.373, allocations: 1.413 MB / 384.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.3735, allocations: 286.5 kB / 384.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.3738, allocations: 11.95 kB / 384.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.3742, allocations: 47.95 kB / 384.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3744, allocations: 52.36 kB / 384.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.3744, allocations: 24.25 kB / 384.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.3758, allocations: 0.9292 MB / 385.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 0 / 385.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3769, allocations: 423.5 kB / 385.8 MB, free: 6.176 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.0009441/0.3779, allocations: 448.1 kB / 386.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3801, allocations: 0.9053 MB / 387.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3801, allocations: 0 / 387.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.3812, allocations: 0.5563 MB / 387.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.3821, allocations: 179 kB / 387.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.3884, allocations: 3.418 MB / 391.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.3894, allocations: 1.22 MB / 392.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006294/0.3901, allocations: 162.1 kB / 392.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3902, allocations: 71.44 kB / 392.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3902, allocations: 3.938 kB / 392.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.02948/0.4197, allocations: 14.85 MB / 407.6 MB, free: 264 kB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)