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.DifferenceAmplifier.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.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4282, allocations: 75.79 MB / 384.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006236/0.4289, allocations: 75.95 kB / 384.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07572/0.5046, allocations: 15.57 MB / 400 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5047, allocations: 0 / 400 MB, free: 1.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.5048, allocations: 20 kB / 400 MB, free: 1.039 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005878/0.5107, allocations: 1.31 MB / 401.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5107, allocations: 11.97 kB / 401.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006473/0.5114, allocations: 131.1 kB / 401.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.5118, allocations: 106.7 kB / 401.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.5132, allocations: 0.5159 MB / 402.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.5133, allocations: 65.94 kB / 402.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.5136, allocations: 84 kB / 402.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.5183, allocations: 1.158 MB / 403.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.5183, allocations: 0 / 403.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.5185, allocations: 39.95 kB / 403.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.5186, allocations: 20 kB / 403.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.5249, allocations: 1.304 MB / 404.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.5365, allocations: 3.502 MB / 408.3 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005512/0.5421, allocations: 1.189 MB / 409.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.5422, allocations: 16.53 kB / 409.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5423, allocations: 43.12 kB / 409.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.346e-06/0.5423, allocations: 0 / 409.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.01621/0.5585, allocations: 3.506 MB / 413 MB, free: 3.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.5586, allocations: 64.06 kB / 413.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.5596, allocations: 462.1 kB / 413.5 MB, free: 3.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.5598, allocations: 37.7 kB / 413.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.5601, allocations: 411.3 kB / 414 MB, free: 2.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.5605, allocations: 252.3 kB / 414.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5606, allocations: 16 kB / 414.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.5609, allocations: 386.8 kB / 414.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.5639, allocations: 0.5602 MB / 415.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.5666, allocations: 0.6844 MB / 415.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.5693, allocations: 0.5886 MB / 416.4 MB, free: 216 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5693, allocations: 0 / 416.4 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.2666/0.8359, allocations: 1.548 MB / 418 MB, free: 90.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.8361, allocations: 6.438 kB / 418 MB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.8361, allocations: 9.438 kB / 418 MB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.8376, allocations: 176 kB / 418.2 MB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/0.8418, allocations: 290.9 kB / 418.5 MB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.8498, allocations: 2.657 MB / 421.1 MB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.8528, allocations: 130.6 kB / 421.2 MB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.853, allocations: 29.66 kB / 421.3 MB, free: 89.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 87 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008321/0.8538, allocations: 223.5 kB / 421.5 MB, free: 89.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.8542, allocations: 75.66 kB / 421.6 MB, free: 89.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.8547, allocations: 87.41 kB / 421.6 MB, free: 89.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.8547, allocations: 7.344 kB / 421.6 MB, free: 89.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.8547, allocations: 6.688 kB / 421.7 MB, free: 89.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.8548, allocations: 3.703 kB / 421.7 MB, free: 89.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.8575, allocations: 1.001 MB / 422.7 MB, free: 89.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.8575, allocations: 3.625 kB / 422.7 MB, free: 89.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/0.8604, allocations: 240.7 kB / 422.9 MB, free: 89.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/0.8613, allocations: 182.3 kB / 423.1 MB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.8614, allocations: 22.2 kB / 423.1 MB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004831/0.8663, allocations: 2.66 MB / 425.8 MB, free: 87.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.8663, allocations: 0.75 kB / 425.8 MB, free: 87.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/0.8746, allocations: 2.179 MB / 427.9 MB, free: 87.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.8749, allocations: 147.5 kB / 428.1 MB, free: 86.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.8751, allocations: 11.12 kB / 428.1 MB, free: 86.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.8771, allocations: 160.6 kB / 428.2 MB, free: 86.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.8773, allocations: 46.39 kB / 428.3 MB, free: 86.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.8775, allocations: 27.52 kB / 428.3 MB, free: 86.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.8781, allocations: 358.6 kB / 428.7 MB, free: 86.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8782, allocations: 0 / 428.7 MB, free: 86.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001394/0.8796, allocations: 250.2 kB / 428.9 MB, free: 86.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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 (56): * Single equations (assignments): 55 * 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: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009987/0.8896, allocations: 2.756 MB / 431.7 MB, free: 85.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008605/0.8982, allocations: 1.538 MB / 433.2 MB, free: 84.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8983, allocations: 384 / 433.2 MB, free: 84.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004953/0.9033, allocations: 0.8892 MB / 434.1 MB, free: 84.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.9047, allocations: 113.2 kB / 434.2 MB, free: 84.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/0.9294, allocations: 7.94 MB / 442.2 MB, free: 77.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.9301, allocations: 0.9741 MB / 443.1 MB, free: 76.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001357/0.9315, allocations: 78.45 kB / 443.2 MB, free: 76.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.9326, allocations: 298.8 kB / 443.5 MB, free: 76.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9326, allocations: 0 / 443.5 MB, free: 76.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/1.017, allocations: 16.85 MB / 460.3 MB, free: 60.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.017, allocations: 203.5 kB / 460.5 MB, free: 60.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/4.575, allocations: 11.81 kB / 460.6 MB, free: 60.43 MB / 346.7 MB