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.00132/0.00132, 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.001568/0.001568, allocations: 192.3 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001793/0.001793, allocations: 59.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2393, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009261/0.2486, allocations: 8.165 MB / 333.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.2659, allocations: 10.95 MB / 344.4 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.268, allocations: 15.94 kB / 344.4 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.271, allocations: 0.8223 MB / 345.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.2765, allocations: 1.215 MB / 346.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.2789, allocations: 0.6895 MB / 347.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.2835, allocations: 2.634 MB / 349.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006384/0.2842, allocations: 357.7 kB / 350.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.285, allocations: 0.5208 MB / 350.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008891/0.2859, allocations: 0.6172 MB / 351.3 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.2862, allocations: 72 kB / 351.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.2885, allocations: 0.7065 MB / 352.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.2887, allocations: 218.6 kB / 352.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.2896, allocations: 0.7686 MB / 353.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.2924, allocations: 2.098 MB / 355.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2924, allocations: 0 / 355.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2925, allocations: 0 / 355.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.2925, allocations: 0 / 355.1 MB, free: 5.977 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.003309/0.2958, allocations: 2.223 MB / 357.4 MB, free: 3.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2958, allocations: 8.031 kB / 357.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.2961, allocations: 226.3 kB / 357.6 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.2976, allocations: 1.3 MB / 358.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2977, allocations: 41.31 kB / 358.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.2978, allocations: 55.94 kB / 359 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.299, allocations: 0.69 MB / 359.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.299, allocations: 0 / 359.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.2991, allocations: 24 kB / 359.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.2991, allocations: 19.98 kB / 359.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.3004, allocations: 0.5673 MB / 360.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.3038, allocations: 2.535 MB / 362.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.305, allocations: 0.6194 MB / 363.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.3059, allocations: 0.5493 MB / 364 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008746/0.3147, allocations: 7.489 MB / 371.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/0.3155, allocations: 378 kB / 371.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.855e-06/0.3155, allocations: 0 / 371.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005911/0.3214, allocations: 2.082 MB / 373.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.3215, allocations: 93.53 kB / 374 MB, free: 1.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.3238, allocations: 1.431 MB / 375.5 MB, free: 136 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.3239, allocations: 37.7 kB / 375.5 MB, free: 92 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.3246, allocations: 0.7977 MB / 376.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.3248, allocations: 224.8 kB / 376.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.325, allocations: 142.6 kB / 376.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3252, allocations: 334 kB / 377 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.3258, allocations: 257.8 kB / 377.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/0.3265, allocations: 454.2 kB / 377.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.328, allocations: 0.7363 MB / 378.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.328, allocations: 0 / 378.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0022/0.3302, allocations: 1.136 MB / 379.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3303, allocations: 11.98 kB / 379.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.3304, allocations: 75.94 kB / 379.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.3316, allocations: 0.6997 MB / 380.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.3321, allocations: 115.8 kB / 380.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.3336, allocations: 1.12 MB / 381.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.3343, allocations: 91.31 kB / 381.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.3344, allocations: 32 kB / 381.7 MB, free: 9.66 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.0005159/0.3349, allocations: 289.9 kB / 382 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3352, allocations: 201.6 kB / 382.2 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.3376, allocations: 1.099 MB / 383.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3376, allocations: 8 kB / 383.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3377, allocations: 0 / 383.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3377, allocations: 3.984 kB / 383.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3389, allocations: 0.9754 MB / 384.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-05/0.3391, allocations: 67.98 kB / 384.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.3394, allocations: 63.88 kB / 384.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.3406, allocations: 0.6711 MB / 385.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.3406, allocations: 19.94 kB / 385.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.342, allocations: 1.092 MB / 386.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.342, allocations: 0 / 386.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.3446, allocations: 1.347 MB / 387.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.3451, allocations: 286.5 kB / 387.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.3453, allocations: 16 kB / 387.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.3458, allocations: 31.95 kB / 387.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.3459, allocations: 48.38 kB / 387.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.346, allocations: 24 kB / 387.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.3474, allocations: 0.9488 MB / 388.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3474, allocations: 0 / 388.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000988/0.3484, allocations: 431.4 kB / 389.3 MB, free: 1.891 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.0008726/0.3493, allocations: 480.1 kB / 389.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.3514, allocations: 0.8778 MB / 390.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3514, allocations: 0 / 390.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3526, allocations: 0.5212 MB / 391.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.3534, allocations: 199.1 kB / 391.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.3587, allocations: 3.051 MB / 394.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.3596, allocations: 1.216 MB / 395.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.3602, allocations: 162.1 kB / 395.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3603, allocations: 75.44 kB / 395.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3603, allocations: 0 / 395.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of Templates: time 0.03285/0.3932, allocations: 16.07 MB / 411.9 MB, free: 11.13 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)