Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.052/1.052, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002543, allocations: 8 kB / 158.4 MB, free: 15.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05567/0.05596, allocations: 25.16 MB / 183.6 MB, free: 5.863 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.2642, allocations: 36.5 MB / 220.1 MB, free: 5.688 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.2645, allocations: 63.69 kB / 220.2 MB, free: 5.68 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0349/0.2994, allocations: 8.327 MB / 228.5 MB, free: 2.426 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2994, allocations: 0 / 228.5 MB, free: 2.426 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.2995, allocations: 8 kB / 228.5 MB, free: 2.418 MB / 170.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.001522/0.301, allocations: 0.6846 MB / 229.2 MB, free: 1.711 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3011, allocations: 8.031 kB / 229.2 MB, free: 1.703 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.3012, allocations: 70.66 kB / 229.2 MB, free: 1.645 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.3013, allocations: 43.44 kB / 229.3 MB, free: 1.602 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.3017, allocations: 294.3 kB / 229.6 MB, free: 1.301 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3018, allocations: 28.16 kB / 229.6 MB, free: 1.285 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.3019, allocations: 34.25 kB / 229.6 MB, free: 1.262 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.3028, allocations: 350.1 kB / 230 MB, free: 1.004 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3029, allocations: 0 / 230 MB, free: 1.004 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.3029, allocations: 13.62 kB / 230 MB, free: 1 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3029, allocations: 8 kB / 230 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.3037, allocations: 245.6 kB / 230.2 MB, free: 0.8281 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.3064, allocations: 1.175 MB / 231.4 MB, free: 15.82 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3076, allocations: 295.4 kB / 231.7 MB, free: 15.61 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.3087, allocations: 1.128 MB / 232.8 MB, free: 14.22 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.3088, allocations: 38.98 kB / 232.9 MB, free: 14.18 MB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 3.286e-06/0.3088, allocations: 4 kB / 232.9 MB, free: 14.18 MB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.002017/0.3108, allocations: 0.4958 MB / 233.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.3109, allocations: 85.06 kB / 233.5 MB, free: 13.64 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.3115, allocations: 302.1 kB / 233.7 MB, free: 13.39 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.3115, allocations: 33.33 kB / 233.8 MB, free: 13.36 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3117, allocations: 265.4 kB / 234 MB, free: 13.14 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3119, allocations: 100.7 kB / 234.1 MB, free: 13.05 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.3119, allocations: 5 kB / 234.1 MB, free: 13.05 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.312, allocations: 325.6 kB / 234.5 MB, free: 12.73 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.3125, allocations: 101.8 kB / 234.6 MB, free: 12.66 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.3129, allocations: 194.6 kB / 234.7 MB, free: 12.48 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.3134, allocations: 126.9 kB / 234.9 MB, free: 12.4 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3134, allocations: 0 / 234.9 MB, free: 12.4 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001235/0.3147, allocations: 393.2 kB / 235.3 MB, free: 12.11 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3147, allocations: 4 kB / 235.3 MB, free: 12.1 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3147, allocations: 16.08 kB / 235.3 MB, free: 12.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.3151, allocations: 43.27 kB / 235.3 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.3158, allocations: 91.27 kB / 235.4 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/0.3163, allocations: 0.5656 MB / 236 MB, free: 11.39 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.3168, allocations: 46.77 kB / 236 MB, free: 11.35 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3169, allocations: 19.44 kB / 236 MB, free: 11.34 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" fixed = true ) type: Real opAmp.q_fr3:VARIABLE(fixed = true ) type: Real opAmp.q_fr2:VARIABLE(fixed = true ) type: Real opAmp.q_fr1:VARIABLE(fixed = true ) type: Real opAmp.v_in:VARIABLE(unit = "V" fixed = true ) type: Real 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 (41): * Single equations (assignments): 40 * 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 prepare postOptimizeDAE: time 0.0003918/0.3173, allocations: 158.3 kB / 236.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.3174, allocations: 43.03 kB / 236.2 MB, free: 11.15 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3186, allocations: 324.5 kB / 236.6 MB, free: 10.92 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3186, allocations: 3.938 kB / 236.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3186, allocations: 7.938 kB / 236.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3186, allocations: 4 kB / 236.6 MB, free: 10.9 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.3193, allocations: 391.5 kB / 237 MB, free: 10.54 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3193, allocations: 4 kB / 237 MB, free: 10.54 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.3201, allocations: 67.33 kB / 237 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.3203, allocations: 39.27 kB / 237.1 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3203, allocations: 3.688 kB / 237.1 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005003/0.3209, allocations: 0.5721 MB / 237.6 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3209, allocations: 0 / 237.6 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.3224, allocations: 0.5229 MB / 238.2 MB, free: 9.441 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.3227, allocations: 137.9 kB / 238.3 MB, free: 9.301 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.3228, allocations: 7.312 kB / 238.3 MB, free: 9.297 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.3232, allocations: 27.55 kB / 238.3 MB, free: 9.273 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.3233, allocations: 19.91 kB / 238.3 MB, free: 9.258 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.3234, allocations: 7.953 kB / 238.4 MB, free: 9.25 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003871/0.3238, allocations: 244.5 kB / 238.6 MB, free: 9.062 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3238, allocations: 0 / 238.6 MB, free: 9.062 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005854/0.3244, allocations: 103 kB / 238.7 MB, free: 8.969 MB / 186.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.002084/0.3265, allocations: 1.102 MB / 239.8 MB, free: 7.953 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3277, allocations: 292.4 kB / 240.1 MB, free: 7.738 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3277, allocations: 0 / 240.1 MB, free: 7.738 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.3282, allocations: 155.5 kB / 240.2 MB, free: 7.617 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.3289, allocations: 48.95 kB / 240.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.335, allocations: 3.618 MB / 243.9 MB, free: 4.211 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.3355, allocations: 0.8143 MB / 244.7 MB, free: 3.367 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.3358, allocations: 131.4 kB / 244.8 MB, free: 3.328 MB / 186.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3358, allocations: 0 / 244.8 MB, free: 3.328 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/2.973, allocations: 6.858 MB / 251.7 MB, free: 12.53 MB / 202.7 MB