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.001032/0.001032, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008284/0.008284, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.344/1.344, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004579/0.000458, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006644/0.2228, allocations: 7.677 MB / 334.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2367, allocations: 11.01 MB / 345.7 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.2386, allocations: 15.94 kB / 345.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.2411, allocations: 0.7493 MB / 346.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.2455, allocations: 0.9835 MB / 347.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.2473, allocations: 0.5036 MB / 348 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.2511, allocations: 2.552 MB / 350.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.2516, allocations: 326.6 kB / 350.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.2522, allocations: 489.3 kB / 351.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.2528, allocations: 0.5782 MB / 351.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.2529, allocations: 40 kB / 351.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.2544, allocations: 0.683 MB / 352.6 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2546, allocations: 186.7 kB / 352.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.2552, allocations: 0.7586 MB / 353.6 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.2571, allocations: 2.023 MB / 355.6 MB, free: 6.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2572, allocations: 0 / 355.6 MB, free: 6.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2572, allocations: 0 / 355.6 MB, free: 6.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2572, allocations: 0 / 355.6 MB, free: 6.688 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.002838/0.26, allocations: 1.975 MB / 357.6 MB, free: 4.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2601, allocations: 8.031 kB / 357.6 MB, free: 4.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.2603, allocations: 226.3 kB / 357.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.262, allocations: 1.316 MB / 359.1 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.262, allocations: 37.31 kB / 359.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2621, allocations: 55.91 kB / 359.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.2634, allocations: 0.7134 MB / 359.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2634, allocations: 0 / 359.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.2635, allocations: 24 kB / 359.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.2635, allocations: 19.98 kB / 359.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2649, allocations: 0.6219 MB / 360.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.2682, allocations: 2.547 MB / 363.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.2695, allocations: 0.6584 MB / 363.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009216/0.2704, allocations: 0.5611 MB / 364.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008131/0.2785, allocations: 7.504 MB / 371.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.2794, allocations: 405.9 kB / 372.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.194e-06/0.2794, allocations: 0 / 372.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005966/0.2854, allocations: 2.168 MB / 374.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.2854, allocations: 89.53 kB / 374.5 MB, free: 2.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.287, allocations: 1.435 MB / 375.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.2871, allocations: 41.7 kB / 376 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/0.2877, allocations: 0.7978 MB / 376.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2879, allocations: 228.7 kB / 377 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.288, allocations: 65.69 kB / 377.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2881, allocations: 333.9 kB / 377.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.2888, allocations: 277.9 kB / 377.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.2896, allocations: 486.1 kB / 378.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.291, allocations: 0.7792 MB / 378.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.291, allocations: 3.938 kB / 378.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002102/0.2931, allocations: 1.19 MB / 380.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2931, allocations: 8.719 kB / 380.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.864e-05/0.2932, allocations: 72 kB / 380.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.2944, allocations: 0.703 MB / 380.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.2949, allocations: 123.8 kB / 381 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2962, allocations: 1.12 MB / 382.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.2969, allocations: 99.31 kB / 382.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.297, allocations: 36 kB / 382.3 MB, free: 10.24 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.0004971/0.2975, allocations: 293.6 kB / 382.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.2977, allocations: 205.6 kB / 382.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.3002, allocations: 1.131 MB / 383.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3002, allocations: 8 kB / 383.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3002, allocations: 0 / 383.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3002, allocations: 7.922 kB / 383.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3014, allocations: 0.9753 MB / 384.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.381e-05/0.3015, allocations: 68 kB / 384.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3019, allocations: 71.94 kB / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3031, allocations: 0.671 MB / 385.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.3032, allocations: 19.94 kB / 385.7 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.3044, allocations: 1.092 MB / 386.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3045, allocations: 0 / 386.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.3072, allocations: 1.421 MB / 388.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.3076, allocations: 286.5 kB / 388.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3078, allocations: 8 kB / 388.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.3082, allocations: 51.95 kB / 388.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.3084, allocations: 48.62 kB / 388.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.3085, allocations: 23.98 kB / 388.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.3097, allocations: 0.941 MB / 389.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3097, allocations: 0 / 389.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3107, allocations: 435.4 kB / 390 MB, free: 2.34 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.0008376/0.3116, allocations: 480 kB / 390.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.3137, allocations: 0.8974 MB / 391.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3138, allocations: 4 kB / 391.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.315, allocations: 0.5485 MB / 391.9 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.3158, allocations: 186.9 kB / 392.1 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.3217, allocations: 3.621 MB / 395.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.3224, allocations: 1.224 MB / 396.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000525/0.323, allocations: 162.1 kB / 397.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3231, allocations: 75.44 kB / 397.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3231, allocations: 0 / 397.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Templates: time 0.02778/0.3509, allocations: 15.18 MB / 412.3 MB, free: 11.86 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)