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.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001216/0.001216, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2008, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007609/0.2085, allocations: 8.166 MB / 333.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2206, allocations: 10.96 MB / 344.4 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.2215, allocations: 19.94 kB / 344.5 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.2234, allocations: 0.8222 MB / 345.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.2263, allocations: 1.211 MB / 346.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.2279, allocations: 0.6895 MB / 347.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.2316, allocations: 2.634 MB / 349.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.2321, allocations: 353.7 kB / 350.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.2326, allocations: 0.5169 MB / 350.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.2333, allocations: 0.6211 MB / 351.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2334, allocations: 64 kB / 351.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.2349, allocations: 0.7143 MB / 352.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.2352, allocations: 214.7 kB / 352.3 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.2358, allocations: 0.7686 MB / 353 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.2379, allocations: 2.094 MB / 355.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2379, allocations: 7.938 kB / 355.1 MB, free: 5.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.238, allocations: 4 kB / 355.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.238, allocations: 0 / 355.2 MB, free: 5.938 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.003168/0.2412, allocations: 2.215 MB / 357.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2412, allocations: 8.031 kB / 357.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.2414, allocations: 226.2 kB / 357.6 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.2431, allocations: 1.304 MB / 358.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2431, allocations: 45.31 kB / 358.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.2432, allocations: 52 kB / 359 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2445, allocations: 0.69 MB / 359.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2445, allocations: 0 / 359.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.2446, allocations: 20 kB / 359.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.2446, allocations: 23.98 kB / 359.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.2459, allocations: 0.5634 MB / 360.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.2493, allocations: 2.535 MB / 362.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2505, allocations: 0.6271 MB / 363.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008954/0.2514, allocations: 0.5377 MB / 364 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00843/0.2599, allocations: 7.492 MB / 371.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007978/0.2607, allocations: 381.9 kB / 371.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.2607, allocations: 0 / 371.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005558/0.2663, allocations: 2.078 MB / 373.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.2664, allocations: 93.53 kB / 374 MB, free: 1.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.2679, allocations: 1.435 MB / 375.5 MB, free: 100 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.2679, allocations: 37.7 kB / 375.5 MB, free: 56 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/0.2686, allocations: 0.7977 MB / 376.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.2688, allocations: 224.8 kB / 376.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.269, allocations: 138.6 kB / 376.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2691, allocations: 334 kB / 377 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.2697, allocations: 257.8 kB / 377.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.2705, allocations: 450.2 kB / 377.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.2718, allocations: 0.7402 MB / 378.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2718, allocations: 4 kB / 378.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002027/0.2739, allocations: 1.128 MB / 379.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2739, allocations: 12.12 kB / 379.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.274, allocations: 79.92 kB / 379.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.2752, allocations: 0.6991 MB / 380.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.2756, allocations: 111.8 kB / 380.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2769, allocations: 1.124 MB / 381.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.2775, allocations: 83.31 kB / 381.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.2776, allocations: 36 kB / 381.7 MB, free: 9.633 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.0004147/0.278, allocations: 293.9 kB / 382 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.2782, allocations: 205.6 kB / 382.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.2805, allocations: 1.092 MB / 383.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.2806, allocations: 8 kB / 383.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2806, allocations: 0 / 383.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2806, allocations: 3.984 kB / 383.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2816, allocations: 0.9754 MB / 384.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.933e-05/0.2817, allocations: 71.98 kB / 384.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.2821, allocations: 63.88 kB / 384.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.2831, allocations: 0.6711 MB / 385 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.2832, allocations: 19.94 kB / 385.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.2844, allocations: 1.092 MB / 386.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2844, allocations: 0 / 386.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.2869, allocations: 1.355 MB / 387.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.2873, allocations: 282.5 kB / 387.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.2874, allocations: 12 kB / 387.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.2879, allocations: 31.95 kB / 387.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.288, allocations: 48.38 kB / 387.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.2881, allocations: 28 kB / 387.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.2892, allocations: 0.9488 MB / 388.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2892, allocations: 0 / 388.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008315/0.29, allocations: 427.4 kB / 389.3 MB, free: 1.859 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.0007369/0.2908, allocations: 484 kB / 389.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.2928, allocations: 0.8739 MB / 390.6 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2928, allocations: 0 / 390.6 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.294, allocations: 0.5254 MB / 391.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.2947, allocations: 186.9 kB / 391.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.2996, allocations: 3.055 MB / 394.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/0.3004, allocations: 1.22 MB / 395.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.3009, allocations: 158.1 kB / 395.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3011, allocations: 79.42 kB / 395.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3011, allocations: 0 / 395.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of Templates: time 0.02681/0.3279, allocations: 16.07 MB / 411.9 MB, free: 11.1 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)