Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005454, allocations: 11.98 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3001, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.4807, allocations: 87.15 MB / 395.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.481, allocations: 71.97 kB / 395.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4839/0.965, allocations: 57.59 MB / 453.4 MB, free: 70.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.9651, allocations: 0 / 453.4 MB, free: 70.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001238/0.9652, allocations: 28 kB / 453.4 MB, free: 70.14 MB / 346.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.007275/0.9725, allocations: 2.079 MB / 455.5 MB, free: 68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.9726, allocations: 12.03 kB / 455.5 MB, free: 67.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003727/0.973, allocations: 102.4 kB / 455.6 MB, free: 67.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00057/0.9736, allocations: 221.4 kB / 455.8 MB, free: 67.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.978, allocations: 1.264 MB / 457.1 MB, free: 66.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.9781, allocations: 38 kB / 457.1 MB, free: 66.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.9784, allocations: 63.89 kB / 457.2 MB, free: 66.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.9812, allocations: 0.7133 MB / 457.9 MB, free: 65.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.9813, allocations: 0 / 457.9 MB, free: 65.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.9815, allocations: 23.98 kB / 457.9 MB, free: 65.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.9815, allocations: 20 kB / 457.9 MB, free: 65.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.9847, allocations: 0.6142 MB / 458.5 MB, free: 64.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.9913, allocations: 2.587 MB / 461.1 MB, free: 62.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.9934, allocations: 0.6545 MB / 461.8 MB, free: 61.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.007, allocations: 8.7 MB / 470.5 MB, free: 51.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/1.008, allocations: 398 kB / 470.9 MB, free: 51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.35e-06/1.008, allocations: 7.922 kB / 470.9 MB, free: 50.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01102/1.019, allocations: 2.212 MB / 473.1 MB, free: 48.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.019, allocations: 85.55 kB / 473.2 MB, free: 48.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/1.022, allocations: 1.268 MB / 474.4 MB, free: 47.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.022, allocations: 37.7 kB / 474.5 MB, free: 47.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/1.023, allocations: 0.8055 MB / 475.3 MB, free: 46.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/1.023, allocations: 220.8 kB / 475.5 MB, free: 46.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/1.023, allocations: 8 kB / 475.5 MB, free: 46.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/1.023, allocations: 345.9 kB / 475.8 MB, free: 45.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.024, allocations: 277.8 kB / 476.1 MB, free: 45.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.025, allocations: 470.3 kB / 476.6 MB, free: 45.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.027, allocations: 330.9 kB / 476.9 MB, free: 44.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.027, allocations: 4 kB / 476.9 MB, free: 44.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003426/1.03, allocations: 1.171 MB / 478.1 MB, free: 43.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.03, allocations: 11.22 kB / 478.1 MB, free: 43.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.03, allocations: 71.98 kB / 478.2 MB, free: 43.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.032, allocations: 0.6913 MB / 478.8 MB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/1.033, allocations: 127.8 kB / 479 MB, free: 42.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/1.035, allocations: 1.12 MB / 480.1 MB, free: 41.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.036, allocations: 103.3 kB / 480.2 MB, free: 41.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/1.036, allocations: 35.98 kB / 480.2 MB, free: 41.41 MB / 346.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.0008199/1.037, allocations: 285.7 kB / 480.5 MB, free: 41.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/1.037, allocations: 209.5 kB / 480.7 MB, free: 40.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/1.041, allocations: 1.181 MB / 481.9 MB, free: 39.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.041, allocations: 8 kB / 481.9 MB, free: 39.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.042, allocations: 3.953 kB / 481.9 MB, free: 39.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.042, allocations: 0 / 481.9 MB, free: 39.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/1.043, allocations: 0.999 MB / 482.9 MB, free: 38.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000138/1.043, allocations: 67.98 kB / 483 MB, free: 38.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/1.044, allocations: 75.88 kB / 483 MB, free: 38.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/1.046, allocations: 0.674 MB / 483.7 MB, free: 37.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.046, allocations: 15.95 kB / 483.7 MB, free: 37.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.048, allocations: 1.089 MB / 484.8 MB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.048, allocations: 0 / 484.8 MB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/1.052, allocations: 1.444 MB / 486.3 MB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007859/1.053, allocations: 294.6 kB / 486.6 MB, free: 34.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/1.054, allocations: 16.2 kB / 486.6 MB, free: 34.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.055, allocations: 51.95 kB / 486.6 MB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/1.055, allocations: 52.36 kB / 486.7 MB, free: 34.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.055, allocations: 24 kB / 486.7 MB, free: 34.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00195/1.057, allocations: 0.98 MB / 487.7 MB, free: 33.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.057, allocations: 4 kB / 487.7 MB, free: 33.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001836/1.059, allocations: 495 kB / 488.2 MB, free: 33.3 MB / 346.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.006056/1.065, allocations: 2.443 MB / 490.6 MB, free: 30.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004119/1.069, allocations: 0.8935 MB / 491.5 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.069, allocations: 0 / 491.5 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.071, allocations: 0.5448 MB / 492 MB, free: 29.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.072, allocations: 178.9 kB / 492.2 MB, free: 29.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.099, allocations: 13.88 MB / 0.4942 GB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/1.1, allocations: 1.252 MB / 0.4955 GB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009533/1.101, allocations: 179.2 kB / 0.4956 GB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.101, allocations: 0.6203 MB / 0.4962 GB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/1.101, allocations: 0 / 0.4962 GB, free: 12.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.209, allocations: 32.39 MB / 0.5279 GB, free: 11.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/1.209, allocations: 225 kB / 0.5281 GB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/5.538, allocations: 4 kB / 0.5281 GB, free: 11.71 MB / 378.7 MB