Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.001195/0.001195, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001138/0.001138, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.318/1.318, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.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.001104/0.001104, allocations: 52.14 kB / 280.2 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08268, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007842/0.09056, allocations: 8.117 MB / 334.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1025, allocations: 10.84 MB / 345.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.1041, allocations: 15.94 kB / 345.8 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.1063, allocations: 0.7404 MB / 346.5 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.1113, allocations: 1.023 MB / 347.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.1132, allocations: 0.6044 MB / 348.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003969/0.1172, allocations: 2.642 MB / 350.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.1177, allocations: 357.7 kB / 351.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.1183, allocations: 0.5247 MB / 351.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.1189, allocations: 0.6094 MB / 352.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.119, allocations: 68 kB / 352.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1205, allocations: 0.7143 MB / 353 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1207, allocations: 226.7 kB / 353.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.1213, allocations: 0.7647 MB / 354 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.1233, allocations: 2.105 MB / 356.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1233, allocations: 0 / 356.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1233, allocations: 4 kB / 356.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1234, allocations: 0 / 356.1 MB, free: 7.309 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.003176/0.1265, allocations: 2.208 MB / 358.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1266, allocations: 12.03 kB / 358.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.1268, allocations: 222.3 kB / 358.6 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.1284, allocations: 1.3 MB / 359.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.1285, allocations: 45.3 kB / 359.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.1286, allocations: 56 kB / 360 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1298, allocations: 0.69 MB / 360.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1298, allocations: 0 / 360.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.1299, allocations: 20 kB / 360.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.1299, allocations: 23.98 kB / 360.7 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1311, allocations: 0.5711 MB / 361.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.1343, allocations: 2.522 MB / 363.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.1355, allocations: 0.6232 MB / 364.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.1364, allocations: 0.5415 MB / 364.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.1446, allocations: 7.492 MB / 372.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/0.1454, allocations: 385.9 kB / 372.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.565e-06/0.1454, allocations: 0 / 372.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005462/0.1509, allocations: 2.078 MB / 374.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.151, allocations: 85.53 kB / 375 MB, free: 2.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.1526, allocations: 1.439 MB / 376.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.1527, allocations: 33.7 kB / 376.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.1533, allocations: 0.8054 MB / 377.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1534, allocations: 220.8 kB / 377.5 MB, free: 412 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1536, allocations: 138.6 kB / 377.6 MB, free: 268 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1454/0.299, allocations: 338 kB / 377.9 MB, free: 54.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.2997, allocations: 250.4 kB / 378.2 MB, free: 54.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.3004, allocations: 462.1 kB / 378.6 MB, free: 54.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3016, allocations: 0.7353 MB / 379.4 MB, free: 54.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3016, allocations: 6.219 kB / 379.4 MB, free: 54.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00213/0.3037, allocations: 1.135 MB / 380.5 MB, free: 54.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3038, allocations: 7.156 kB / 380.5 MB, free: 54.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.95e-05/0.3039, allocations: 75.03 kB / 380.6 MB, free: 54.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3051, allocations: 0.6944 MB / 381.3 MB, free: 54.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.3055, allocations: 115.6 kB / 381.4 MB, free: 54.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.3066, allocations: 1.125 MB / 382.5 MB, free: 53.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.3073, allocations: 84.27 kB / 382.6 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.3073, allocations: 41.22 kB / 382.6 MB, free: 53.28 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.0004371/0.3078, allocations: 290 kB / 382.9 MB, free: 53.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.308, allocations: 202 kB / 383.1 MB, free: 53.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3101, allocations: 1.077 MB / 384.2 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3101, allocations: 10.92 kB / 384.2 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.3102, allocations: 6.094 kB / 384.2 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3102, allocations: 3.672 kB / 384.2 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3113, allocations: 0.9859 MB / 385.2 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000103/0.3114, allocations: 69.72 kB / 385.3 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.3117, allocations: 53.86 kB / 385.3 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.3128, allocations: 0.6735 MB / 386 MB, free: 51.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.3129, allocations: 20.69 kB / 386 MB, free: 51.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.3139, allocations: 1.087 MB / 387.1 MB, free: 51.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3139, allocations: 7.219 kB / 387.1 MB, free: 51.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.3162, allocations: 1.351 MB / 388.5 MB, free: 50.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.3166, allocations: 282 kB / 388.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3167, allocations: 15.97 kB / 388.8 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.3172, allocations: 35.27 kB / 388.8 MB, free: 50.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3173, allocations: 51.3 kB / 388.8 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.3174, allocations: 25.39 kB / 388.9 MB, free: 50.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.3184, allocations: 0.9474 MB / 389.8 MB, free: 49.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3185, allocations: 4 kB / 389.8 MB, free: 49.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008034/0.3193, allocations: 425.9 kB / 390.2 MB, free: 49.9 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.0007612/0.32, allocations: 478.6 kB / 390.7 MB, free: 49.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.322, allocations: 0.8676 MB / 391.6 MB, free: 49.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.322, allocations: 1.438 kB / 391.6 MB, free: 49.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.3231, allocations: 0.5337 MB / 392.1 MB, free: 49.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.324, allocations: 180.4 kB / 392.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.3289, allocations: 3.546 MB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.3294, allocations: 1.217 MB / 397 MB, free: 46.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.33, allocations: 159.5 kB / 397.2 MB, free: 46.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3301, allocations: 80.86 kB / 397.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3301, allocations: 0 / 397.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of Templates: time 0.02501/0.3551, allocations: 15.86 MB / 413.1 MB, free: 30.99 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)