Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.602/1.602, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 233.3 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07992/0.08028, allocations: 38.76 MB / 272.1 MB, free: 9.988 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4272, allocations: 83.02 MB / 355.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.4275, allocations: 71.97 kB / 355.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1928/0.6203, allocations: 58.22 MB / 413.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6204, allocations: 0 / 413.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.728e-05/0.6205, allocations: 31.94 kB / 413.4 MB, free: 5.492 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.005735/0.6262, allocations: 2.079 MB / 415.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6263, allocations: 8.031 kB / 415.5 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.6266, allocations: 110.4 kB / 415.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.627, allocations: 221.4 kB / 415.9 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.6304, allocations: 1.259 MB / 417.1 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.6305, allocations: 45.25 kB / 417.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.6306, allocations: 55.91 kB / 417.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.6328, allocations: 0.7095 MB / 417.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.6329, allocations: 0 / 417.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.633, allocations: 24 kB / 417.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.633, allocations: 19.95 kB / 418 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.6353, allocations: 0.6142 MB / 418.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2673/0.9026, allocations: 2.585 MB / 421.2 MB, free: 83.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.9049, allocations: 0.6592 MB / 421.8 MB, free: 83.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/0.9204, allocations: 8.692 MB / 430.5 MB, free: 76.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.9218, allocations: 400.5 kB / 430.9 MB, free: 76.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.879e-06/0.9218, allocations: 0 / 430.9 MB, free: 76.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01155/0.9334, allocations: 2.206 MB / 433.1 MB, free: 76.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.9335, allocations: 94.22 kB / 433.2 MB, free: 76.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.9361, allocations: 1.27 MB / 434.5 MB, free: 75.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.9363, allocations: 36.58 kB / 434.5 MB, free: 75.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/0.937, allocations: 0.698 MB / 435.2 MB, free: 75.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.9373, allocations: 230 kB / 435.4 MB, free: 75.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.9374, allocations: 15.62 kB / 435.5 MB, free: 75.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.9375, allocations: 343.5 kB / 435.8 MB, free: 75.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.9386, allocations: 272.5 kB / 436.1 MB, free: 75.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.9397, allocations: 474.5 kB / 436.5 MB, free: 75.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.9408, allocations: 327.6 kB / 436.8 MB, free: 75.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.9409, allocations: 2.094 kB / 436.8 MB, free: 75.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003051/0.9439, allocations: 1.005 MB / 437.8 MB, free: 74.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.944, allocations: 12.61 kB / 437.9 MB, free: 74.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.9442, allocations: 75.64 kB / 437.9 MB, free: 74.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.946, allocations: 0.6917 MB / 438.6 MB, free: 74.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/0.9469, allocations: 129.7 kB / 438.7 MB, free: 74.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.9488, allocations: 1.116 MB / 439.9 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9501, allocations: 103 kB / 440 MB, free: 74.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9502, allocations: 38.66 kB / 440 MB, free: 74.39 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.0007768/0.951, allocations: 293.3 kB / 440.3 MB, free: 74.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.9513, allocations: 199.7 kB / 440.5 MB, free: 74.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.9555, allocations: 1.192 MB / 441.7 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.9555, allocations: 6.312 kB / 441.7 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9555, allocations: 0 / 441.7 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.9556, allocations: 3.609 kB / 441.7 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.9574, allocations: 0.9919 MB / 442.7 MB, free: 73.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001556/0.9576, allocations: 69.98 kB / 442.7 MB, free: 73.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.9583, allocations: 75.2 kB / 442.8 MB, free: 73.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.9601, allocations: 0.6769 MB / 443.5 MB, free: 73.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/0.9602, allocations: 21.28 kB / 443.5 MB, free: 73.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.9619, allocations: 1.084 MB / 444.6 MB, free: 73.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9619, allocations: 4.844 kB / 444.6 MB, free: 73.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.9661, allocations: 1.45 MB / 446.1 MB, free: 73.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/0.9669, allocations: 299.4 kB / 446.3 MB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.9672, allocations: 9.531 kB / 446.4 MB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.968, allocations: 50.05 kB / 446.4 MB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.9682, allocations: 45.77 kB / 446.5 MB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.9683, allocations: 26.3 kB / 446.5 MB, free: 72.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00169/0.97, allocations: 0.9827 MB / 447.5 MB, free: 72.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.97, allocations: 0 / 447.5 MB, free: 72.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001596/0.9716, allocations: 493 kB / 447.9 MB, free: 72.62 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.005655/0.9773, allocations: 2.453 MB / 450.4 MB, free: 71.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003169/0.9805, allocations: 0.9015 MB / 451.3 MB, free: 71.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9806, allocations: 0 / 451.3 MB, free: 71.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.9825, allocations: 0.5376 MB / 451.8 MB, free: 70.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.9836, allocations: 186.2 kB / 452 MB, free: 70.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.008, allocations: 13.92 MB / 465.9 MB, free: 61.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/1.009, allocations: 1.258 MB / 467.2 MB, free: 60.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/1.01, allocations: 0.6228 MB / 467.8 MB, free: 60.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/1.01, allocations: 0 / 467.8 MB, free: 60.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/4.069, allocations: 31.94 MB / 499.8 MB, free: 41.66 MB / 346.7 MB