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.001096/0.001096, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001103/0.001103, allocations: 194.5 kB / 16.26 MB, free: 6.145 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.381/1.381, allocations: 205.1 MB / 222.1 MB, free: 4.586 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.001119/0.001119, allocations: 47.94 kB / 278.2 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2198, allocations: 46.62 MB / 324.8 MB, free: 2.09 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01083/0.2307, allocations: 8.127 MB / 333 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.2467, allocations: 10.82 MB / 343.8 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.2488, allocations: 19.88 kB / 343.8 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.2515, allocations: 0.7493 MB / 344.6 MB, free: 300 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.2566, allocations: 1.019 MB / 345.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.2587, allocations: 0.5966 MB / 346.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.2628, allocations: 2.65 MB / 348.8 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.2634, allocations: 345.7 kB / 349.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.2641, allocations: 0.5247 MB / 349.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.2647, allocations: 0.6172 MB / 350.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2648, allocations: 68 kB / 350.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.2665, allocations: 0.7143 MB / 351.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.2667, allocations: 214.7 kB / 351.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000705/0.2674, allocations: 0.7686 MB / 352.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.2699, allocations: 2.098 MB / 354.2 MB, free: 6.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.27, allocations: 0 / 354.2 MB, free: 6.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.27, allocations: 4 kB / 354.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.27, allocations: 0 / 354.2 MB, free: 6.621 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.00314/0.2732, allocations: 2.211 MB / 356.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2732, allocations: 11.97 kB / 356.4 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.2735, allocations: 226.3 kB / 356.6 MB, free: 4.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.275, allocations: 1.3 MB / 357.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.2751, allocations: 45.31 kB / 358 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.2752, allocations: 52 kB / 358 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2764, allocations: 0.6939 MB / 358.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2764, allocations: 0 / 358.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/0.2765, allocations: 23.98 kB / 358.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2765, allocations: 20 kB / 358.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.2777, allocations: 0.5711 MB / 359.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.2811, allocations: 2.539 MB / 361.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2822, allocations: 0.6194 MB / 362.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.283, allocations: 0.5377 MB / 363 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007998/0.291, allocations: 7.489 MB / 370.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007616/0.2918, allocations: 389.9 kB / 370.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.2918, allocations: 0 / 370.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005521/0.2974, allocations: 2.082 MB / 373 MB, free: 2.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.2974, allocations: 81.55 kB / 373 MB, free: 2.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.299, allocations: 1.443 MB / 374.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.2991, allocations: 37.7 kB / 374.5 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/0.2997, allocations: 0.794 MB / 375.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.2999, allocations: 228.7 kB / 375.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.3001, allocations: 138.6 kB / 375.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3003, allocations: 337.9 kB / 376 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.3009, allocations: 249.8 kB / 376.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.3016, allocations: 466.2 kB / 376.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3029, allocations: 0.7324 MB / 377.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3029, allocations: 0 / 377.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00206/0.3049, allocations: 1.139 MB / 378.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.305, allocations: 8 kB / 378.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.982e-05/0.3051, allocations: 72.72 kB / 378.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.3063, allocations: 0.703 MB / 379.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3068, allocations: 111.8 kB / 379.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.308, allocations: 1.124 MB / 380.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.3087, allocations: 83.31 kB / 380.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.3088, allocations: 43.97 kB / 380.7 MB, free: 10.29 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.000593/0.3094, allocations: 285.7 kB / 381 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.3096, allocations: 205.5 kB / 381.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.312, allocations: 1.091 MB / 382.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.312, allocations: 11.98 kB / 382.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.312, allocations: 3.938 kB / 382.3 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.312, allocations: 0 / 382.3 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3132, allocations: 0.9793 MB / 383.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.715e-05/0.3133, allocations: 68 kB / 383.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.3136, allocations: 63.94 kB / 383.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.3147, allocations: 0.6711 MB / 384.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.3147, allocations: 28.05 kB / 384.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3159, allocations: 1.092 MB / 385.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3159, allocations: 4 kB / 385.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.3184, allocations: 1.347 MB / 386.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.3188, allocations: 282.5 kB / 386.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.319, allocations: 12 kB / 386.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.3194, allocations: 31.95 kB / 386.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3195, allocations: 48.38 kB / 386.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.3196, allocations: 27.98 kB / 386.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.3208, allocations: 0.9449 MB / 387.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3208, allocations: 4 kB / 387.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009322/0.3217, allocations: 431.4 kB / 388.3 MB, free: 2.516 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.0008127/0.3225, allocations: 468 kB / 388.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.3246, allocations: 0.8777 MB / 389.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3247, allocations: 0 / 389.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.3258, allocations: 0.529 MB / 390.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.3266, allocations: 179.1 kB / 390.4 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.332, allocations: 3.539 MB / 393.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.3327, allocations: 1.22 MB / 395.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005787/0.3333, allocations: 162.1 kB / 395.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3334, allocations: 71.44 kB / 395.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3335, allocations: 3.938 kB / 395.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.02569/0.3591, allocations: 15.86 MB / 411.2 MB, free: 11.51 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)