Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_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.001276/0.001276, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001266/0.001266, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 51.78 kB / 300.1 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08638, allocations: 49.44 MB / 349.6 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008027/0.09445, allocations: 8.277 MB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1063, allocations: 11.19 MB / 369 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.1071, allocations: 15.94 kB / 369.1 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.1089, allocations: 0.7561 MB / 369.8 MB, free: 196 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1411/0.2501, allocations: 1.02 MB / 370.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.2521, allocations: 0.611 MB / 371.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.2561, allocations: 2.689 MB / 374.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.2565, allocations: 359 kB / 374.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.2572, allocations: 0.5512 MB / 375 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.2578, allocations: 0.6186 MB / 375.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.258, allocations: 66.19 kB / 375.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2596, allocations: 0.782 MB / 376.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2598, allocations: 217.7 kB / 376.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.2603, allocations: 0.7728 MB / 377.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.2624, allocations: 2.099 MB / 379.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2624, allocations: 0.75 kB / 379.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2624, allocations: 1.031 kB / 379.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.2624, allocations: 0 / 379.6 MB, free: 8.328 MB / 302.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.002919/0.2654, allocations: 2.213 MB / 381.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2654, allocations: 8.656 kB / 381.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.2656, allocations: 222.8 kB / 382 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.2672, allocations: 1.301 MB / 383.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.2672, allocations: 39.62 kB / 383.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.2673, allocations: 56.34 kB / 383.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2685, allocations: 0.6989 MB / 384.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2685, allocations: 3.938 kB / 384.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.2686, allocations: 22.86 kB / 384.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.2686, allocations: 16.09 kB / 384.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2698, allocations: 0.575 MB / 384.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.2728, allocations: 2.513 MB / 387.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2739, allocations: 0.6278 MB / 387.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000773/0.2746, allocations: 0.5311 MB / 388.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007707/0.2824, allocations: 7.503 MB / 395.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.2832, allocations: 379.3 kB / 396.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.535e-06/0.2832, allocations: 5.281 kB / 396.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005788/0.289, allocations: 2.074 MB / 398.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.2891, allocations: 89.39 kB / 398.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.2908, allocations: 1.432 MB / 399.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.2908, allocations: 36.67 kB / 399.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/0.2915, allocations: 0.7989 MB / 400.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2917, allocations: 228.2 kB / 400.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.2919, allocations: 146.3 kB / 401.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.292, allocations: 331.7 kB / 401.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.2926, allocations: 254.4 kB / 401.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.2933, allocations: 454.6 kB / 402.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.2946, allocations: 0.7391 MB / 402.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2946, allocations: 0 / 402.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00223/0.2968, allocations: 1.141 MB / 404 MB, free: 7.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2969, allocations: 9.594 kB / 404 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.297, allocations: 79.98 kB / 404.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.2981, allocations: 0.688 MB / 404.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.2986, allocations: 111.8 kB / 404.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.2999, allocations: 1.13 MB / 406 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/0.3008, allocations: 95.3 kB / 406.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.3009, allocations: 32 kB / 406.1 MB, free: 5.152 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.0005444/0.3014, allocations: 289.7 kB / 406.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.3017, allocations: 197.7 kB / 406.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.3041, allocations: 1.097 MB / 407.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3042, allocations: 4 kB / 407.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3042, allocations: 3.938 kB / 407.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3042, allocations: 3.938 kB / 407.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3056, allocations: 0.9823 MB / 408.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.473e-05/0.3057, allocations: 71.98 kB / 408.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.306, allocations: 51.95 kB / 408.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.3071, allocations: 0.6672 MB / 409.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.3072, allocations: 23.92 kB / 409.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3084, allocations: 1.094 MB / 410.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3084, allocations: 1.953 kB / 410.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.3109, allocations: 1.355 MB / 411.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.3115, allocations: 278.6 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3117, allocations: 15.98 kB / 412.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.3122, allocations: 36.06 kB / 412.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3124, allocations: 52.3 kB / 412.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.3125, allocations: 23.98 kB / 412.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.3137, allocations: 0.9488 MB / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3137, allocations: 0 / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3148, allocations: 431.4 kB / 413.7 MB, free: 13.39 MB / 334.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.0008212/0.3156, allocations: 483.7 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.3177, allocations: 0.8661 MB / 415.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3177, allocations: 0 / 415.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.3189, allocations: 0.5196 MB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.32, allocations: 216.1 kB / 415.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.3255, allocations: 3.538 MB / 419.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.3262, allocations: 1.216 MB / 420.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.3268, allocations: 162.1 kB / 420.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3269, allocations: 71.44 kB / 420.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of SimCode: time 1.984e-06/0.3269, allocations: 4 kB / 420.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of Templates: time 0.02691/0.3538, allocations: 15.88 MB / 436.7 MB, free: 6.547 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)