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.0008837/0.0008836, allocations: 91.14 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.005884/0.005884, allocations: 171 kB / 16.26 MB, free: 6.613 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.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0004378/0.0004379, allocations: 20 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 47.57 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01018/0.2315, allocations: 7.68 MB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.2499, allocations: 11.02 MB / 345.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.2515, allocations: 15.94 kB / 345.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.2541, allocations: 0.7377 MB / 346.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.2589, allocations: 0.9874 MB / 347.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.2611, allocations: 0.4958 MB / 348 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005735/0.2668, allocations: 2.564 MB / 350.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/0.2676, allocations: 318.6 kB / 350.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.2687, allocations: 489.3 kB / 351.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.2696, allocations: 0.5821 MB / 351.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.2698, allocations: 36 kB / 351.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.2727, allocations: 0.6908 MB / 352.6 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.2729, allocations: 182.7 kB / 352.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.274, allocations: 0.7508 MB / 353.6 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.2773, allocations: 2.039 MB / 355.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2773, allocations: 0 / 355.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2773, allocations: 0 / 355.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.2774, allocations: 0 / 355.6 MB, free: 6.707 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.004414/0.2818, allocations: 1.971 MB / 357.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2818, allocations: 12.03 kB / 357.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.2822, allocations: 218.3 kB / 357.8 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.285, allocations: 1.308 MB / 359.1 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.2851, allocations: 45.31 kB / 359.1 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.2853, allocations: 59.89 kB / 359.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2873, allocations: 0.7095 MB / 359.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.2874, allocations: 0 / 359.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.2875, allocations: 20 kB / 359.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.2875, allocations: 20 kB / 359.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2892, allocations: 0.6219 MB / 360.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.2948, allocations: 2.547 MB / 363.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.2967, allocations: 0.6623 MB / 363.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.298, allocations: 0.5572 MB / 364.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/0.3105, allocations: 7.508 MB / 371.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.3118, allocations: 405.9 kB / 372.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 4.058e-06/0.3118, allocations: 4 kB / 372.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00934/0.3211, allocations: 2.168 MB / 374.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.3212, allocations: 85.55 kB / 374.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.3239, allocations: 1.435 MB / 375.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.324, allocations: 45.69 kB / 376 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009809/0.325, allocations: 0.7938 MB / 376.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.3253, allocations: 224.8 kB / 377 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3255, allocations: 65.67 kB / 377.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3257, allocations: 338 kB / 377.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/0.3267, allocations: 277.8 kB / 377.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3278, allocations: 486.2 kB / 378.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.3301, allocations: 0.7792 MB / 378.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.3301, allocations: 7.938 kB / 378.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003499/0.3336, allocations: 1.182 MB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3337, allocations: 12.66 kB / 380.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/0.3339, allocations: 75.98 kB / 380.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.3357, allocations: 0.6953 MB / 380.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.3364, allocations: 123.8 kB / 381 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.3384, allocations: 1.124 MB / 382.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.3397, allocations: 95.3 kB / 382.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.3398, allocations: 44 kB / 382.3 MB, free: 10.26 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.0008062/0.3406, allocations: 289.7 kB / 382.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.341, allocations: 201.6 kB / 382.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.3447, allocations: 1.142 MB / 383.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3447, allocations: 8 kB / 383.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3447, allocations: 0 / 383.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3448, allocations: 0 / 383.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3465, allocations: 0.9753 MB / 384.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001421/0.3467, allocations: 71.94 kB / 384.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.3472, allocations: 67.94 kB / 385 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.3489, allocations: 0.6749 MB / 385.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.349, allocations: 27.92 kB / 385.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.3511, allocations: 1.088 MB / 386.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3511, allocations: 0 / 386.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.3553, allocations: 1.417 MB / 388.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.356, allocations: 278.5 kB / 388.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.3563, allocations: 12 kB / 388.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.3571, allocations: 51.95 kB / 388.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.3573, allocations: 44.38 kB / 388.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.3574, allocations: 27.98 kB / 388.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.3594, allocations: 0.9488 MB / 389.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3594, allocations: 0 / 389.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001505/0.3609, allocations: 427.4 kB / 390 MB, free: 2.363 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.001219/0.3621, allocations: 488 kB / 390.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003152/0.3653, allocations: 0.9013 MB / 391.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3653, allocations: 0 / 391.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.367, allocations: 0.5447 MB / 391.9 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.3683, allocations: 175 kB / 392.1 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.3767, allocations: 3.629 MB / 395.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.3778, allocations: 1.224 MB / 396.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.3788, allocations: 158.1 kB / 397.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.3791, allocations: 75.42 kB / 397.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.034e-06/0.3791, allocations: 7.938 kB / 397.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Templates: time 0.04409/0.4232, allocations: 15.18 MB / 412.3 MB, free: 11.88 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)