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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.011/1.011, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.549e-05, allocations: 4 kB / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0526/0.05266, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.2629, allocations: 35.73 MB / 209.1 MB, free: 4.637 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.2632, allocations: 61.55 kB / 209.2 MB, free: 4.637 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.3002, allocations: 8.259 MB / 217.4 MB, free: 3.062 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3002, allocations: 0 / 217.4 MB, free: 3.062 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.3002, allocations: 7.719 kB / 217.4 MB, free: 3.062 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.001363/0.3016, allocations: 0.6233 MB / 218.1 MB, free: 2.559 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3017, allocations: 11.5 kB / 218.1 MB, free: 2.559 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3018, allocations: 50.52 kB / 218.1 MB, free: 2.531 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.3023, allocations: 283.6 kB / 218.4 MB, free: 2.285 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3023, allocations: 11.5 kB / 218.4 MB, free: 2.285 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.3024, allocations: 28.56 kB / 218.4 MB, free: 2.281 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005553/0.303, allocations: 192.6 kB / 218.6 MB, free: 2.27 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.3036, allocations: 287.9 kB / 218.9 MB, free: 2.168 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3037, allocations: 4 kB / 218.9 MB, free: 2.164 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.3037, allocations: 0.8438 kB / 218.9 MB, free: 2.164 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3037, allocations: 7.5 kB / 218.9 MB, free: 2.164 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.3065, allocations: 1.098 MB / 220 MB, free: 1.523 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.3071, allocations: 238.5 kB / 220.3 MB, free: 1.477 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/0.3077, allocations: 186.2 kB / 220.4 MB, free: 1.449 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/0.3085, allocations: 1.123 MB / 221.6 MB, free: 116 kB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3085, allocations: 38.73 kB / 221.6 MB, free: 72 kB / 170.7 MB Notification: Performance of pre-optimization done (n=27): time 3.467e-06/0.3085, allocations: 0 / 221.6 MB, free: 72 kB / 170.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008891/0.3094, allocations: 265.6 kB / 221.9 MB, free: 15.98 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3095, allocations: 84.8 kB / 221.9 MB, free: 15.88 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.3099, allocations: 247.5 kB / 222.2 MB, free: 15.77 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.3099, allocations: 33.58 kB / 222.2 MB, free: 15.73 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3101, allocations: 260.6 kB / 222.5 MB, free: 15.52 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3102, allocations: 101.5 kB / 222.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.3103, allocations: 0 / 222.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3104, allocations: 326.6 kB / 222.9 MB, free: 15.12 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.3106, allocations: 76.83 kB / 223 MB, free: 15.12 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3109, allocations: 165.9 kB / 223.1 MB, free: 15.02 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.3112, allocations: 100.4 kB / 223.2 MB, free: 15 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3113, allocations: 0 / 223.2 MB, free: 15 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008849/0.3122, allocations: 332.7 kB / 223.6 MB, free: 14.91 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3122, allocations: 7.188 kB / 223.6 MB, free: 14.91 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3122, allocations: 7.859 kB / 223.6 MB, free: 14.9 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.3126, allocations: 58.11 kB / 223.6 MB, free: 14.88 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.3132, allocations: 91.7 kB / 223.7 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006112/0.3139, allocations: 0.6084 MB / 224.3 MB, free: 14.33 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.3143, allocations: 39.06 kB / 224.4 MB, free: 14.3 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.3144, allocations: 14.84 kB / 224.4 MB, free: 14.3 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" ) type: Real opAmp.q_fr3:VARIABLE() type: Real opAmp.q_fr2:VARIABLE() type: Real opAmp.q_fr1:VARIABLE() type: Real opAmp.v_in:VARIABLE(unit = "V" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.3146, allocations: 112 kB / 224.5 MB, free: 14.2 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007192/0.3153, allocations: 274.6 kB / 224.7 MB, free: 14.1 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.3154, allocations: 31.12 kB / 224.8 MB, free: 14.08 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.3162, allocations: 290.9 kB / 225.1 MB, free: 13.99 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3163, allocations: 3.438 kB / 225.1 MB, free: 13.99 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3163, allocations: 0 / 225.1 MB, free: 13.99 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3163, allocations: 4 kB / 225.1 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.3169, allocations: 339.7 kB / 225.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3169, allocations: 7.938 kB / 225.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.3176, allocations: 63.7 kB / 225.5 MB, free: 13.74 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.3179, allocations: 55.06 kB / 225.5 MB, free: 13.72 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3179, allocations: 10.78 kB / 225.5 MB, free: 13.71 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005378/0.3185, allocations: 0.6007 MB / 226.1 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3185, allocations: 3.875 kB / 226.1 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.3195, allocations: 468.6 kB / 226.6 MB, free: 12.99 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.3198, allocations: 137.6 kB / 226.7 MB, free: 12.86 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.3199, allocations: 7.812 kB / 226.7 MB, free: 12.86 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.3204, allocations: 19.48 kB / 226.8 MB, free: 12.86 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.3205, allocations: 22.91 kB / 226.8 MB, free: 12.84 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3205, allocations: 3.875 kB / 226.8 MB, free: 12.84 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.3208, allocations: 201 kB / 227 MB, free: 12.75 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3208, allocations: 0 / 227 MB, free: 12.75 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006072/0.3215, allocations: 100.3 kB / 227.1 MB, free: 12.73 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.3229, allocations: 1.032 MB / 228.1 MB, free: 11.98 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007683/0.3237, allocations: 229.4 kB / 228.3 MB, free: 11.97 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3238, allocations: 3.938 kB / 228.3 MB, free: 11.97 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.3242, allocations: 123.6 kB / 228.5 MB, free: 11.95 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.3248, allocations: 38.38 kB / 228.5 MB, free: 11.94 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.3268, allocations: 0.7667 MB / 229.3 MB, free: 11.41 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.3272, allocations: 0.797 MB / 230.1 MB, free: 10.66 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.3275, allocations: 132.1 kB / 230.2 MB, free: 10.63 MB / 186.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3275, allocations: 0 / 230.2 MB, free: 10.63 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.212, allocations: 6.482 MB / 236.7 MB, free: 7.379 MB / 186.7 MB