Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.000541, allocations: 16 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5686/0.7001, allocations: 87.13 MB / 395.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004016/0.7005, allocations: 79.47 kB / 395.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1965/0.8971, allocations: 57.58 MB / 453.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.8971, allocations: 0 / 453.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.8973, allocations: 28 kB / 453.4 MB, free: 2.145 MB / 330.7 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.006395/0.9037, allocations: 2.085 MB / 455.4 MB, free: 108 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.9038, allocations: 8.031 kB / 455.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/0.9042, allocations: 106.5 kB / 455.6 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006818/0.9049, allocations: 222.2 kB / 455.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004058/0.909, allocations: 1.259 MB / 457 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.9091, allocations: 54.95 kB / 457.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.9093, allocations: 56.03 kB / 457.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.9115, allocations: 0.7037 MB / 457.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.9116, allocations: 3.938 kB / 457.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.9117, allocations: 20.62 kB / 457.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.9118, allocations: 22.61 kB / 457.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.9142, allocations: 0.6135 MB / 458.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.9209, allocations: 2.59 MB / 461.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.9233, allocations: 0.6545 MB / 461.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.9406, allocations: 8.705 MB / 470.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.9421, allocations: 405.9 kB / 470.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 5.701e-06/0.9422, allocations: 0 / 470.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.0119/0.9541, allocations: 2.2 MB / 473.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.9542, allocations: 85.55 kB / 473.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.9571, allocations: 1.272 MB / 474.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.9573, allocations: 37.7 kB / 474.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009155/0.9583, allocations: 0.7093 MB / 475.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.9586, allocations: 220.8 kB / 475.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.9587, allocations: 8 kB / 475.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9589, allocations: 342.8 kB / 475.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.96, allocations: 273.8 kB / 476 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.9613, allocations: 478.2 kB / 476.4 MB, free: 9.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.9626, allocations: 334.8 kB / 476.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.9626, allocations: 0 / 476.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003556/0.9662, allocations: 1.005 MB / 477.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.9663, allocations: 15.89 kB / 477.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/0.9665, allocations: 71.98 kB / 477.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.9686, allocations: 0.6957 MB / 478.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.9696, allocations: 123.8 kB / 478.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.9719, allocations: 1.116 MB / 479.8 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.9733, allocations: 103.2 kB / 479.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.9734, allocations: 36 kB / 479.9 MB, free: 6.43 MB / 362.7 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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.9748, allocations: 293.6 kB / 480.2 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/0.9756, allocations: 197.8 kB / 480.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/0.9807, allocations: 1.193 MB / 481.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.9807, allocations: 8 kB / 481.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9808, allocations: 0 / 481.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.9808, allocations: 3.984 kB / 481.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.9831, allocations: 0.9913 MB / 482.6 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001761/0.9833, allocations: 79.92 kB / 482.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.9841, allocations: 67.89 kB / 482.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.986, allocations: 0.674 MB / 483.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.9862, allocations: 19.98 kB / 483.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.9884, allocations: 1.085 MB / 484.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9884, allocations: 0 / 484.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.9935, allocations: 1.452 MB / 486 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.9944, allocations: 294.6 kB / 486.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.9947, allocations: 12 kB / 486.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009029/0.9956, allocations: 43.95 kB / 486.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.9959, allocations: 56.36 kB / 486.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.996, allocations: 20 kB / 486.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00223/0.9982, allocations: 0.98 MB / 487.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9983, allocations: 0 / 487.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001946/1, allocations: 495.1 kB / 487.9 MB, free: 14.32 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.00691/1.007, allocations: 2.439 MB / 490.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003689/1.011, allocations: 0.9013 MB / 491.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.011, allocations: 0 / 491.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/1.013, allocations: 0.5448 MB / 491.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.014, allocations: 175 kB / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03361/1.048, allocations: 13.93 MB / 0.494 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.049, allocations: 1.26 MB / 0.4952 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.05, allocations: 0.6203 MB / 0.4958 GB, free: 9.488 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/1.05, allocations: 0 / 0.4958 GB, free: 9.488 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.546/4.597, allocations: 31.93 MB / 0.527 GB, free: 113.9 MB / 410.7 MB