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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001866/0.001866, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.436/1.436, allocations: 205.1 MB / 222 MB, free: 5.023 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.001608/0.001608, allocations: 55.92 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2595, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008379/0.2679, allocations: 8.123 MB / 332.8 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.2817, allocations: 11.17 MB / 344 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.2833, allocations: 15.94 kB / 344 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.2856, allocations: 0.7492 MB / 344.7 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.2901, allocations: 0.9835 MB / 345.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.292, allocations: 0.5036 MB / 346.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.296, allocations: 2.552 MB / 348.8 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.2965, allocations: 326.6 kB / 349.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.2971, allocations: 0.4973 MB / 349.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.2977, allocations: 0.5938 MB / 350.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2978, allocations: 44 kB / 350.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.2995, allocations: 0.6909 MB / 350.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2997, allocations: 198.7 kB / 351.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006731/0.3003, allocations: 0.7568 MB / 351.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.3024, allocations: 2.062 MB / 353.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3024, allocations: 0 / 353.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3024, allocations: 0 / 353.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3024, allocations: 0 / 353.9 MB, free: 6.805 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.003246/0.3057, allocations: 2.208 MB / 356.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3057, allocations: 12.03 kB / 356.1 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.306, allocations: 222.3 kB / 356.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.3076, allocations: 1.308 MB / 357.7 MB, free: 2.922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3076, allocations: 41.31 kB / 357.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.3077, allocations: 52 kB / 357.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3089, allocations: 0.6939 MB / 358.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.309, allocations: 0 / 358.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.309, allocations: 23.98 kB / 358.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.3091, allocations: 20 kB / 358.5 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3104, allocations: 0.5672 MB / 359.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.3138, allocations: 2.535 MB / 361.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.315, allocations: 0.6194 MB / 362.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/0.3159, allocations: 0.5299 MB / 362.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008531/0.3245, allocations: 7.5 MB / 370.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.3253, allocations: 374 kB / 370.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/0.3253, allocations: 0 / 370.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005631/0.3309, allocations: 2.09 MB / 372.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.331, allocations: 89.55 kB / 372.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3327, allocations: 1.431 MB / 374.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.3327, allocations: 37.7 kB / 374.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/0.3334, allocations: 0.7977 MB / 375.1 MB, free: 128 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3335, allocations: 228.7 kB / 375.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3337, allocations: 138.6 kB / 375.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3338, allocations: 349.9 kB / 375.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.3344, allocations: 249.9 kB / 376 MB, free: 15.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.3351, allocations: 462.2 kB / 376.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3364, allocations: 0.7324 MB / 377.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3364, allocations: 4 kB / 377.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002034/0.3385, allocations: 1.14 MB / 378.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3385, allocations: 8 kB / 378.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.647e-05/0.3386, allocations: 68 kB / 378.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.3398, allocations: 0.6995 MB / 379.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.3403, allocations: 111.8 kB / 379.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.3417, allocations: 1.124 MB / 380.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.3423, allocations: 91.3 kB / 380.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.3424, allocations: 39.98 kB / 380.5 MB, free: 10.49 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.0004735/0.3428, allocations: 285.7 kB / 380.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.3431, allocations: 201.6 kB / 380.9 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3455, allocations: 1.087 MB / 382 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3455, allocations: 12 kB / 382 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3455, allocations: 3.984 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3455, allocations: 0 / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3467, allocations: 0.9754 MB / 383 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.345e-05/0.3468, allocations: 68 kB / 383.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3471, allocations: 55.94 kB / 383.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.3483, allocations: 0.6711 MB / 383.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.3483, allocations: 19.94 kB / 383.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.3496, allocations: 1.1 MB / 384.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3496, allocations: 0 / 384.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.3521, allocations: 1.343 MB / 386.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.3525, allocations: 282.8 kB / 386.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3527, allocations: 12 kB / 386.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.3532, allocations: 43.95 kB / 386.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3534, allocations: 44.38 kB / 386.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.3534, allocations: 27.98 kB / 386.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.3546, allocations: 0.9526 MB / 387.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 387.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009241/0.3556, allocations: 431.4 kB / 388 MB, free: 2.727 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.0008661/0.3564, allocations: 488 kB / 388.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3585, allocations: 0.8428 MB / 389.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3585, allocations: 4.125 kB / 389.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.3597, allocations: 0.5328 MB / 389.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.3606, allocations: 175 kB / 390.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.3661, allocations: 3.534 MB / 393.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.3668, allocations: 1.216 MB / 394.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005252/0.3673, allocations: 166.1 kB / 395 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.3675, allocations: 71.44 kB / 395.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3675, allocations: 0 / 395.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of Templates: time 0.0271/0.3946, allocations: 15.24 MB / 410.3 MB, free: 12.35 MB / 350.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)