Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001097/0.001096, 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.001178/0.001178, allocations: 191.8 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.327/1.327, allocations: 205.1 MB / 222 MB, free: 4.766 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.001225/0.001225, allocations: 47.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2123, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007556/0.2199, allocations: 8.134 MB / 332.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2327, allocations: 11.16 MB / 344 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.2342, allocations: 15.94 kB / 344 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.2364, allocations: 0.7492 MB / 344.7 MB, free: 48 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.24, allocations: 0.9836 MB / 345.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2417, allocations: 0.4997 MB / 346.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.2454, allocations: 2.552 MB / 348.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.2458, allocations: 322.6 kB / 349.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.2466, allocations: 0.5012 MB / 349.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.2472, allocations: 0.5977 MB / 350.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2473, allocations: 44 kB / 350.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.249, allocations: 0.6908 MB / 350.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2492, allocations: 198.7 kB / 351.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.2498, allocations: 0.7529 MB / 351.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.2519, allocations: 2.059 MB / 353.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2519, allocations: 7.984 kB / 353.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2519, allocations: 0 / 353.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.252, allocations: 0 / 353.9 MB, free: 6.781 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.003382/0.2554, allocations: 2.208 MB / 356.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.2554, allocations: 8.031 kB / 356.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.2558, allocations: 222.3 kB / 356.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.2577, allocations: 1.308 MB / 357.7 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.2578, allocations: 45.31 kB / 357.7 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2579, allocations: 52 kB / 357.8 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2593, allocations: 0.6861 MB / 358.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2593, allocations: 0 / 358.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.2594, allocations: 24 kB / 358.5 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.2594, allocations: 23.98 kB / 358.5 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2607, allocations: 0.5633 MB / 359.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.2645, allocations: 2.531 MB / 361.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.2657, allocations: 0.6193 MB / 362.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008664/0.2666, allocations: 0.5454 MB / 362.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008901/0.2755, allocations: 7.489 MB / 370.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008324/0.2764, allocations: 389.9 kB / 370.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.394e-06/0.2764, allocations: 0 / 370.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005777/0.2822, allocations: 2.086 MB / 372.7 MB, free: 2.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.2823, allocations: 89.55 kB / 372.8 MB, free: 2.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.2842, allocations: 1.431 MB / 374.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.2843, allocations: 37.7 kB / 374.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.2849, allocations: 0.8055 MB / 375.1 MB, free: 88 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2851, allocations: 224.7 kB / 375.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.2853, allocations: 138.6 kB / 375.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2854, allocations: 334 kB / 375.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.286, allocations: 257.8 kB / 376 MB, free: 15.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.2868, allocations: 458.2 kB / 376.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2881, allocations: 0.7323 MB / 377.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2881, allocations: 8 kB / 377.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002025/0.2901, allocations: 1.128 MB / 378.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.2902, allocations: 15.98 kB / 378.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.717e-05/0.2903, allocations: 72 kB / 378.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2915, allocations: 0.6991 MB / 379.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.2919, allocations: 111.8 kB / 379.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2932, allocations: 1.128 MB / 380.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.2938, allocations: 87.31 kB / 380.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.2939, allocations: 32 kB / 380.5 MB, free: 10.47 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.0004773/0.2944, allocations: 293.6 kB / 380.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.2946, allocations: 205.6 kB / 380.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.2969, allocations: 1.084 MB / 382 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.297, allocations: 8 kB / 382 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.297, allocations: 0 / 382 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.297, allocations: 3.984 kB / 382 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2982, allocations: 0.9754 MB / 383 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.156e-05/0.2983, allocations: 68 kB / 383.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2987, allocations: 63.88 kB / 383.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.2998, allocations: 0.6633 MB / 383.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.2999, allocations: 28.06 kB / 383.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.301, allocations: 1.096 MB / 384.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3011, allocations: 0 / 384.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.3035, allocations: 1.351 MB / 386.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.3038, allocations: 282.5 kB / 386.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.304, allocations: 12 kB / 386.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.3045, allocations: 31.95 kB / 386.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.3047, allocations: 52.38 kB / 386.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.3048, allocations: 31.92 kB / 386.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.3059, allocations: 0.941 MB / 387.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.3059, allocations: 0 / 387.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009155/0.3068, allocations: 439.3 kB / 388.1 MB, free: 2.699 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.0008722/0.3077, allocations: 480 kB / 388.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.3097, allocations: 0.8464 MB / 389.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3097, allocations: 0 / 389.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3109, allocations: 0.5293 MB / 389.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.3117, allocations: 175 kB / 390.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.3173, allocations: 3.546 MB / 393.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.3181, allocations: 1.216 MB / 394.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005503/0.3186, allocations: 166.1 kB / 395 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3188, allocations: 71.44 kB / 395.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3188, allocations: 0 / 395.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Templates: time 0.02698/0.3458, allocations: 15.24 MB / 410.3 MB, free: 12.32 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)