Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 15.94 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5529, allocations: 74.92 MB / 383.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5532, allocations: 72.16 kB / 383.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03624/0.5895, allocations: 8.331 MB / 391.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5895, allocations: 7.938 kB / 391.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.5896, allocations: 7.844 kB / 391.9 MB, free: 14.01 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001571/0.5911, allocations: 0.6812 MB / 392.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5912, allocations: 7.844 kB / 392.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.5913, allocations: 75.91 kB / 392.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5914, allocations: 54.2 kB / 392.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.5919, allocations: 293 kB / 393 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.5919, allocations: 30 kB / 393 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.592, allocations: 32.44 kB / 393 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.5929, allocations: 344.6 kB / 393.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.593, allocations: 3.531 kB / 393.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.593, allocations: 11.98 kB / 393.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.5931, allocations: 7.781 kB / 393.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.5938, allocations: 245.6 kB / 393.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.5965, allocations: 1.19 MB / 394.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5976, allocations: 297.6 kB / 395.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.5984, allocations: 1.125 MB / 396.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5984, allocations: 42.69 kB / 396.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/0.5984, allocations: 0 / 396.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001795/0.6002, allocations: 0.4946 MB / 396.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6003, allocations: 77.11 kB / 396.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.6008, allocations: 311 kB / 397.2 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.6008, allocations: 35.2 kB / 397.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.6009, allocations: 259.9 kB / 397.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.601, allocations: 100.9 kB / 397.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.6011, allocations: 6.719 kB / 397.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.6012, allocations: 332.2 kB / 397.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.6015, allocations: 107.5 kB / 398 MB, free: 10.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.6019, allocations: 189.6 kB / 398.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.6024, allocations: 127.3 kB / 398.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6024, allocations: 3.719 kB / 398.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009347/0.6033, allocations: 363.7 kB / 398.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6034, allocations: 4.625 kB / 398.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6034, allocations: 7.938 kB / 398.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.6034, allocations: 3.938 kB / 398.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.6041, allocations: 105.1 kB / 398.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6042, allocations: 0 / 398.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.6046, allocations: 42.16 kB / 398.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.6047, allocations: 11.62 kB / 398.8 MB, free: 10.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.6049, allocations: 153.9 kB / 399 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.605, allocations: 42.72 kB / 399 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.6061, allocations: 329.7 kB / 399.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6061, allocations: 3.812 kB / 399.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6061, allocations: 0 / 399.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6061, allocations: 0 / 399.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.6067, allocations: 395.1 kB / 399.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6067, allocations: 3.938 kB / 399.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.6074, allocations: 68.98 kB / 399.8 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.6078, allocations: 42.41 kB / 399.8 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.6078, allocations: 7.406 kB / 399.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004375/0.6083, allocations: 0.5731 MB / 400.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6083, allocations: 1.25 kB / 400.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.6097, allocations: 0.5291 MB / 401 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.6099, allocations: 128.5 kB / 401.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.61, allocations: 7.5 kB / 401.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.6105, allocations: 27.12 kB / 401.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.6106, allocations: 21.81 kB / 401.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.6106, allocations: 7.5 kB / 401.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003161/0.6109, allocations: 238.4 kB / 401.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6109, allocations: 4 kB / 401.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000555/0.6115, allocations: 106.8 kB / 401.5 MB, free: 8.715 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/0.6132, allocations: 1.09 MB / 402.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008495/0.614, allocations: 277.4 kB / 402.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6141, allocations: 0 / 402.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.6146, allocations: 141.1 kB / 403 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.615, allocations: 32.25 kB / 403 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.6197, allocations: 3.587 MB / 406.6 MB, free: 5.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.62, allocations: 0.799 MB / 407.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.6203, allocations: 137.1 kB / 407.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6204, allocations: 0 / 407.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.482/3.102, allocations: 6.222 MB / 413.8 MB, free: 2.812 MB / 314.7 MB