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.0007432/0.0007432, allocations: 94.11 kB / 17.3 MB, free: 6.344 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.0008009/0.000801, allocations: 180 kB / 18.21 MB, free: 5.531 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.395/1.395, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0004657/0.0004657, allocations: 20.47 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08462, allocations: 47.59 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006675/0.09133, allocations: 7.673 MB / 336.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1029, allocations: 11.01 MB / 347.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009027/0.1039, allocations: 19.94 kB / 347.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.1058, allocations: 0.7404 MB / 348.4 MB, free: 248 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.1096, allocations: 0.9874 MB / 349.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1114, allocations: 0.5036 MB / 349.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.1151, allocations: 2.552 MB / 352.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.1156, allocations: 322.6 kB / 352.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005712/0.1161, allocations: 489.3 kB / 353.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.1167, allocations: 0.5782 MB / 353.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.1168, allocations: 40 kB / 353.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.1187, allocations: 0.683 MB / 354.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1189, allocations: 178.7 kB / 354.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.1197, allocations: 0.7664 MB / 355.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.1219, allocations: 2.027 MB / 357.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1219, allocations: 0 / 357.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.122, allocations: 0 / 357.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.122, allocations: 0 / 357.5 MB, free: 7.066 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.003092/0.1251, allocations: 1.983 MB / 359.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1251, allocations: 8.031 kB / 359.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.1254, allocations: 218.4 kB / 359.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.1271, allocations: 1.312 MB / 361 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.1272, allocations: 37.31 kB / 361.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1273, allocations: 59.91 kB / 361.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1286, allocations: 0.7134 MB / 361.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1287, allocations: 0 / 361.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.1287, allocations: 20 kB / 361.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.1288, allocations: 23.98 kB / 361.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1301, allocations: 0.6103 MB / 362.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.1336, allocations: 2.545 MB / 365 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1349, allocations: 0.6701 MB / 365.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/0.1358, allocations: 0.5572 MB / 366.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007922/0.1437, allocations: 7.508 MB / 373.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008074/0.1446, allocations: 405.9 kB / 374.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.244e-06/0.1446, allocations: 3.938 kB / 374.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005819/0.1504, allocations: 2.168 MB / 376.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.1505, allocations: 89.55 kB / 376.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.152, allocations: 1.435 MB / 377.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.1521, allocations: 37.7 kB / 377.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.1527, allocations: 0.8016 MB / 378.7 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1528, allocations: 224.8 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.1529, allocations: 69.67 kB / 379 MB, free: 32 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1471/0.3, allocations: 331 kB / 379.3 MB, free: 53.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/0.3009, allocations: 274.1 kB / 379.6 MB, free: 53.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.3016, allocations: 483.5 kB / 380 MB, free: 53.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.303, allocations: 0.7897 MB / 380.8 MB, free: 52.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.303, allocations: 1.656 kB / 380.8 MB, free: 52.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002435/0.3055, allocations: 1.174 MB / 382 MB, free: 52.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3055, allocations: 7.312 kB / 382 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.009e-05/0.3056, allocations: 76.3 kB / 382.1 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.3069, allocations: 0.6978 MB / 382.8 MB, free: 52.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.3074, allocations: 129.2 kB / 382.9 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3087, allocations: 1.122 MB / 384 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.3095, allocations: 100.7 kB / 384.1 MB, free: 52.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.3095, allocations: 38.61 kB / 384.2 MB, free: 52.32 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.0005423/0.3101, allocations: 292.2 kB / 384.5 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.3103, allocations: 202.1 kB / 384.7 MB, free: 52.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.3127, allocations: 1.138 MB / 385.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3127, allocations: 6.25 kB / 385.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3127, allocations: 0.9688 kB / 385.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3128, allocations: 2.25 kB / 385.8 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.314, allocations: 0.9766 MB / 386.8 MB, free: 51.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001176/0.3141, allocations: 68.75 kB / 386.8 MB, free: 51.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.3145, allocations: 76.91 kB / 386.9 MB, free: 51.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.3157, allocations: 0.6596 MB / 387.6 MB, free: 51.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.3158, allocations: 21.91 kB / 387.6 MB, free: 51.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.317, allocations: 1.09 MB / 388.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.317, allocations: 5.875 kB / 388.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.3197, allocations: 1.432 MB / 390.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.3201, allocations: 278.7 kB / 390.4 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.3202, allocations: 14.3 kB / 390.4 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.3207, allocations: 49.91 kB / 390.5 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.3208, allocations: 48.75 kB / 390.5 MB, free: 49.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.3209, allocations: 29.47 kB / 390.5 MB, free: 49.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.3221, allocations: 0.9428 MB / 391.5 MB, free: 49.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3221, allocations: 0 / 391.5 MB, free: 49.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009366/0.3231, allocations: 428.8 kB / 391.9 MB, free: 48.98 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.0007636/0.3238, allocations: 483.6 kB / 392.4 MB, free: 48.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.3259, allocations: 0.9011 MB / 393.3 MB, free: 48.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.326, allocations: 0 / 393.3 MB, free: 48.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3271, allocations: 0.5498 MB / 393.8 MB, free: 48.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.3279, allocations: 180.3 kB / 394 MB, free: 48.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.3326, allocations: 3.617 MB / 397.6 MB, free: 46.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3331, allocations: 1.216 MB / 398.8 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00052/0.3337, allocations: 161.3 kB / 399 MB, free: 45.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3338, allocations: 71.44 kB / 399.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3338, allocations: 4 kB / 399.1 MB, free: 45.35 MB / 318.1 MB Notification: Performance of Templates: time 0.02273/0.3565, allocations: 15.18 MB / 414.3 MB, free: 30.32 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)