Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003716, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3177, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004323/0.3221, allocations: 2.6 MB / 311.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3245, allocations: 0.9523 MB / 312.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.3248, allocations: 4 kB / 312.1 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.325, allocations: 43.66 kB / 312.2 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.3256, allocations: 139.5 kB / 312.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.326, allocations: 107.8 kB / 312.4 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.3266, allocations: 323.2 kB / 312.7 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.3269, allocations: 102.5 kB / 312.8 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3272, allocations: 151.5 kB / 313 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.3276, allocations: 187.1 kB / 313.1 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.3276, allocations: 20 kB / 313.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3278, allocations: 55.91 kB / 313.2 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.328, allocations: 75.73 kB / 313.3 MB, free: 8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3281, allocations: 97.45 kB / 313.4 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3287, allocations: 367.9 kB / 313.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3287, allocations: 0 / 313.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3287, allocations: 0 / 313.8 MB, free: 7.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3287, allocations: 0 / 313.8 MB, free: 7.539 MB / 250.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.00189/0.3306, allocations: 0.6779 MB / 314.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3307, allocations: 8.031 kB / 314.4 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.3308, allocations: 70.53 kB / 314.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.3309, allocations: 47.44 kB / 314.6 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.3314, allocations: 298.3 kB / 314.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3315, allocations: 20.66 kB / 314.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.3316, allocations: 36 kB / 314.9 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/0.3326, allocations: 349 kB / 315.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3326, allocations: 3.938 kB / 315.2 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3327, allocations: 12 kB / 315.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3327, allocations: 8 kB / 315.3 MB, free: 5.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.3336, allocations: 238.5 kB / 315.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.3366, allocations: 1.193 MB / 316.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.3378, allocations: 299.7 kB / 317 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.339, allocations: 1.125 MB / 318.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.339, allocations: 34.8 kB / 318.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 2.905e-06/0.339, allocations: 0 / 318.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.001979/0.341, allocations: 0.4974 MB / 318.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3411, allocations: 81.11 kB / 318.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.3417, allocations: 333.7 kB / 319 MB, free: 1.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.3417, allocations: 37.7 kB / 319.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3419, allocations: 212 kB / 319.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3421, allocations: 106.6 kB / 319.4 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.3421, allocations: 4 kB / 319.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3423, allocations: 350.8 kB / 319.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.3427, allocations: 108.6 kB / 319.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.3432, allocations: 193.8 kB / 320 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3437, allocations: 124 kB / 320.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.3437, allocations: 3.953 kB / 320.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001131/0.3448, allocations: 384.4 kB / 320.5 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3449, allocations: 8 kB / 320.5 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3449, allocations: 0 / 320.5 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3449, allocations: 7.938 kB / 320.5 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.3457, allocations: 99.88 kB / 320.6 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3457, allocations: 8.094 kB / 320.7 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3462, allocations: 51.52 kB / 320.7 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.3462, allocations: 8.047 kB / 320.7 MB, free: 15.99 MB / 266.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.000245/0.3465, allocations: 149.8 kB / 320.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.3466, allocations: 39.52 kB / 320.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3478, allocations: 330.2 kB / 321.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3478, allocations: 7.938 kB / 321.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3478, allocations: 0 / 321.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3478, allocations: 0 / 321.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.3485, allocations: 393.2 kB / 321.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3486, allocations: 4 kB / 321.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.3493, allocations: 67.95 kB / 321.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3496, allocations: 40.77 kB / 321.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.3496, allocations: 12 kB / 321.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005469/0.3502, allocations: 0.568 MB / 322.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3502, allocations: 3.953 kB / 322.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3518, allocations: 0.5288 MB / 322.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.352, allocations: 140.5 kB / 323 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.3521, allocations: 8 kB / 323 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.3526, allocations: 31.97 kB / 323 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.3527, allocations: 11.98 kB / 323 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.3527, allocations: 11.98 kB / 323 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003888/0.3531, allocations: 235.2 kB / 323.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3531, allocations: 0 / 323.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005605/0.3537, allocations: 103.8 kB / 323.4 MB, free: 13.2 MB / 266.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.002034/0.3558, allocations: 1.096 MB / 324.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.3568, allocations: 275.8 kB / 324.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3568, allocations: 0 / 324.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.3574, allocations: 131.9 kB / 324.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3579, allocations: 41.86 kB / 324.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.3632, allocations: 2.364 MB / 327.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3637, allocations: 0.803 MB / 328.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000298/0.364, allocations: 38.91 kB / 328.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.3643, allocations: 135.4 kB / 328.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3643, allocations: 0 / 328.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.3999, allocations: 6.543 MB / 334.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.4002, allocations: 223.6 kB / 335 MB, free: 1.457 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.015, allocations: 0 / 335 MB, free: 1.457 MB / 266.7 MB