Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005313, allocations: 11.94 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.54, allocations: 75.78 MB / 384.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5404, allocations: 78.38 kB / 384.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06546/0.6058, allocations: 15.57 MB / 400 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6059, allocations: 0 / 400 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.105e-05/0.606, allocations: 19.44 kB / 400 MB, free: 12.86 MB / 314.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.005246/0.6112, allocations: 1.304 MB / 401.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6113, allocations: 11.75 kB / 401.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003758/0.6117, allocations: 134.3 kB / 401.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.612, allocations: 105 kB / 401.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.6129, allocations: 0.5251 MB / 402.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.613, allocations: 63.06 kB / 402.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.6132, allocations: 82.09 kB / 402.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/0.6172, allocations: 1.16 MB / 403.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.6172, allocations: 0 / 403.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.6174, allocations: 44.69 kB / 403.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.6175, allocations: 19.03 kB / 403.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005326/0.6228, allocations: 1.302 MB / 404.7 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008422/0.6313, allocations: 3.494 MB / 408.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.6362, allocations: 1.198 MB / 409.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.6363, allocations: 15.55 kB / 409.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.6364, allocations: 38 kB / 409.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.827e-06/0.6364, allocations: 0 / 409.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.01457/0.651, allocations: 3.512 MB / 413 MB, free: 8.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.651, allocations: 63.84 kB / 413 MB, free: 8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.6519, allocations: 462 kB / 413.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.6521, allocations: 42.59 kB / 413.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.6523, allocations: 434.7 kB / 414 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.6526, allocations: 252.4 kB / 414.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6527, allocations: 19.19 kB / 414.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.6528, allocations: 345.9 kB / 414.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.6553, allocations: 0.5599 MB / 415.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.6577, allocations: 0.691 MB / 415.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.6601, allocations: 0.5843 MB / 416.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.6602, allocations: 0 / 416.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005845/0.666, allocations: 1.513 MB / 417.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.6661, allocations: 11.75 kB / 417.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6661, allocations: 3.906 kB / 417.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008503/0.667, allocations: 177 kB / 418.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/0.6694, allocations: 293.4 kB / 418.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.6744, allocations: 2.659 MB / 421 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.6764, allocations: 122.6 kB / 421.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.6766, allocations: 33.89 kB / 421.2 MB, free: 4.559 MB / 314.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.0005882/0.6772, allocations: 219.3 kB / 421.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6774, allocations: 74.19 kB / 421.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.6776, allocations: 92.11 kB / 421.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6776, allocations: 7.922 kB / 421.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.6777, allocations: 7.906 kB / 421.6 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6777, allocations: 3.984 kB / 421.6 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6793, allocations: 0.9979 MB / 422.6 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6793, allocations: 0 / 422.6 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/0.6815, allocations: 243.3 kB / 422.8 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/0.6824, allocations: 188.5 kB / 423 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6825, allocations: 22.16 kB / 423 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.6873, allocations: 2.653 MB / 425.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6874, allocations: 0 / 425.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008678/0.696, allocations: 2.182 MB / 427.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.6964, allocations: 143.1 kB / 428 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.6966, allocations: 17.73 kB / 428 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.6985, allocations: 147.9 kB / 428.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6987, allocations: 51.2 kB / 428.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6988, allocations: 25.72 kB / 428.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005841/0.6994, allocations: 365.6 kB / 428.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6994, allocations: 3.875 kB / 428.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001153/0.7006, allocations: 249.7 kB / 428.9 MB, free: 1.305 MB / 314.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.00915/0.7097, allocations: 2.763 MB / 431.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006601/0.7164, allocations: 1.533 MB / 433.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7164, allocations: 0.6875 kB / 433.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003862/0.7203, allocations: 0.8896 MB / 434 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.7215, allocations: 104.6 kB / 434.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/0.7425, allocations: 7.975 MB / 442.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.7432, allocations: 0.9736 MB / 443.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.7444, allocations: 311.3 kB / 443.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7444, allocations: 0 / 443.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.882/3.627, allocations: 18.35 MB / 461.7 MB, free: 3.812 MB / 346.7 MB