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.137/1.137, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.939e-05, allocations: 0 / 154.4 MB, free: 13.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1701, allocations: 25.16 MB / 179.5 MB, free: 0.6875 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06613/0.2363, allocations: 36.39 MB / 215.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.2366, allocations: 67.97 kB / 216 MB, free: 12.53 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03949/0.2761, allocations: 8.347 MB / 224.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2761, allocations: 0 / 224.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.2762, allocations: 4 kB / 224.3 MB, free: 4.16 MB / 186.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.0015/0.2777, allocations: 0.6231 MB / 225 MB, free: 3.488 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.2777, allocations: 12.03 kB / 225 MB, free: 3.477 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.2779, allocations: 66.53 kB / 225 MB, free: 3.402 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.278, allocations: 47.44 kB / 225.1 MB, free: 3.355 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.2786, allocations: 294.3 kB / 225.4 MB, free: 3.031 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.2786, allocations: 24.78 kB / 225.4 MB, free: 3.008 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.2787, allocations: 35.91 kB / 225.4 MB, free: 2.973 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.2796, allocations: 326.9 kB / 225.7 MB, free: 2.641 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.2797, allocations: 4 kB / 225.8 MB, free: 2.637 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.2797, allocations: 19.94 kB / 225.8 MB, free: 2.617 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2797, allocations: 12 kB / 225.8 MB, free: 2.605 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.2804, allocations: 207.1 kB / 226 MB, free: 2.406 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.2835, allocations: 1.167 MB / 227.2 MB, free: 1.156 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.2842, allocations: 251.8 kB / 227.4 MB, free: 0.8984 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.2849, allocations: 194.6 kB / 227.6 MB, free: 0.707 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.286, allocations: 1.121 MB / 228.7 MB, free: 15.33 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.2861, allocations: 42.8 kB / 228.8 MB, free: 15.28 MB / 202.7 MB Notification: Performance of pre-optimization done (n=27): time 4.559e-06/0.2861, allocations: 3.984 kB / 228.8 MB, free: 15.27 MB / 202.7 MB Notification: Performance of matching and sorting (n=27): time 0.000975/0.2871, allocations: 284.5 kB / 229 MB, free: 14.99 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.2872, allocations: 81.11 kB / 229.1 MB, free: 14.89 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.2877, allocations: 303.5 kB / 229.4 MB, free: 14.59 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.2878, allocations: 37.7 kB / 229.4 MB, free: 14.54 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.288, allocations: 258.4 kB / 229.7 MB, free: 14.29 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2881, allocations: 102.5 kB / 229.8 MB, free: 14.19 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.2882, allocations: 8 kB / 229.8 MB, free: 14.18 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2883, allocations: 322.8 kB / 230.1 MB, free: 13.86 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2886, allocations: 84.7 kB / 230.2 MB, free: 13.77 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.289, allocations: 169.9 kB / 230.4 MB, free: 13.57 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2893, allocations: 117.2 kB / 230.5 MB, free: 13.45 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2894, allocations: 0 / 230.5 MB, free: 13.45 MB / 202.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001008/0.2904, allocations: 357.8 kB / 230.8 MB, free: 13.09 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2904, allocations: 4 kB / 230.8 MB, free: 13.09 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2904, allocations: 4 kB / 230.8 MB, free: 13.09 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.2908, allocations: 65.02 kB / 230.9 MB, free: 13.02 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.2915, allocations: 87.88 kB / 231 MB, free: 12.93 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006513/0.2922, allocations: 0.5993 MB / 231.6 MB, free: 12.31 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.2927, allocations: 43.66 kB / 231.6 MB, free: 12.27 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.2927, allocations: 16 kB / 231.6 MB, free: 12.25 MB / 202.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 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.0002298/0.293, allocations: 131.8 kB / 231.8 MB, free: 12.12 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.2931, allocations: 39.53 kB / 231.8 MB, free: 12.08 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/0.2941, allocations: 322.2 kB / 232.1 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2941, allocations: 0 / 232.1 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2941, allocations: 3.938 kB / 232.1 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2941, allocations: 4 kB / 232.1 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.2948, allocations: 389.2 kB / 232.5 MB, free: 11.32 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2948, allocations: 4 kB / 232.5 MB, free: 11.31 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.2955, allocations: 67.89 kB / 232.6 MB, free: 11.25 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.2958, allocations: 52.83 kB / 232.6 MB, free: 11.19 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2959, allocations: 8 kB / 232.6 MB, free: 11.18 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000579/0.2965, allocations: 0.5992 MB / 233.2 MB, free: 10.56 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2965, allocations: 8.016 kB / 233.3 MB, free: 10.55 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2976, allocations: 496.3 kB / 233.7 MB, free: 10.05 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.2979, allocations: 132.6 kB / 233.9 MB, free: 9.898 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.298, allocations: 8 kB / 233.9 MB, free: 9.891 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.2984, allocations: 31.98 kB / 233.9 MB, free: 9.859 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.2985, allocations: 19.97 kB / 233.9 MB, free: 9.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.2986, allocations: 4 kB / 233.9 MB, free: 9.836 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003915/0.299, allocations: 234.2 kB / 234.2 MB, free: 9.609 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.299, allocations: 0 / 234.2 MB, free: 9.609 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005713/0.2996, allocations: 107.8 kB / 234.3 MB, free: 9.504 MB / 202.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.001648/0.3012, allocations: 1.067 MB / 235.3 MB, free: 8.41 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.3022, allocations: 255.8 kB / 235.6 MB, free: 8.16 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3022, allocations: 0 / 235.6 MB, free: 8.16 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.3026, allocations: 127.9 kB / 235.7 MB, free: 8.035 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.3033, allocations: 61.61 kB / 235.8 MB, free: 7.973 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3054, allocations: 0.7987 MB / 236.6 MB, free: 7.133 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3059, allocations: 0.803 MB / 237.4 MB, free: 6.305 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.3062, allocations: 135.4 kB / 237.5 MB, free: 6.172 MB / 202.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3062, allocations: 0 / 237.5 MB, free: 6.172 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.106, allocations: 6.694 MB / 244.2 MB, free: 53.66 MB / 202.7 MB