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.OpAmps.Integrator.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.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.37/2.37, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3522, allocations: 44.49 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5005, allocations: 74.56 MB / 383.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004445/0.501, allocations: 79.95 kB / 383.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03932/0.5404, allocations: 4.967 MB / 388.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.123e-06/0.5405, allocations: 0 / 388.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.5405, allocations: 7.938 kB / 388.2 MB, free: 12.82 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002304/0.5428, allocations: 0.5719 MB / 388.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/0.5429, allocations: 8.031 kB / 388.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.5431, allocations: 54.53 kB / 388.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5433, allocations: 23.72 kB / 388.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.544, allocations: 254.5 kB / 389.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.5441, allocations: 12.38 kB / 389.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.5442, allocations: 24 kB / 389.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5456, allocations: 220.3 kB / 389.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5456, allocations: 0 / 389.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.5457, allocations: 8 kB / 389.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.5458, allocations: 4 kB / 389.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.5475, allocations: 227.5 kB / 389.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.5511, allocations: 0.8473 MB / 390.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5528, allocations: 206.6 kB / 390.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.5529, allocations: 3.953 kB / 390.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009996/0.5539, allocations: 161.1 kB / 390.8 MB, free: 10 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 4.819e-06/0.5539, allocations: 0 / 390.8 MB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.004563/0.5585, allocations: 499.1 kB / 391.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.5586, allocations: 85.05 kB / 391.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.559, allocations: 210.5 kB / 391.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.5591, allocations: 33.7 kB / 391.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5593, allocations: 159.9 kB / 391.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.5594, allocations: 39.44 kB / 391.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.5594, allocations: 4 kB / 391.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5596, allocations: 338.8 kB / 392.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.56, allocations: 84.31 kB / 392.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.5606, allocations: 146.5 kB / 392.3 MB, free: 8.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.5611, allocations: 121.7 kB / 392.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5611, allocations: 0 / 392.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001755/0.5629, allocations: 374 kB / 392.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.563, allocations: 33.7 kB / 392.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.563, allocations: 4 kB / 392.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.5637, allocations: 76.8 kB / 392.9 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.5641, allocations: 55.89 kB / 393 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.5682, allocations: 1.497 MB / 394.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.5687, allocations: 43.81 kB / 394.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.5688, allocations: 4 kB / 394.5 MB, free: 5.973 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.569, allocations: 147.7 kB / 394.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.5691, allocations: 23.72 kB / 394.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.5692, allocations: 21.41 kB / 394.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5692, allocations: 0 / 394.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5692, allocations: 3.984 kB / 394.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.5692, allocations: 4 kB / 394.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.5696, allocations: 277.4 kB / 395 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5696, allocations: 3.938 kB / 395 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.5701, allocations: 43.95 kB / 395.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006362/0.5707, allocations: 80.73 kB / 395.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.5708, allocations: 0 / 395.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.5737, allocations: 1.493 MB / 396.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5738, allocations: 48 / 396.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.5758, allocations: 413.9 kB / 397 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.576, allocations: 96.86 kB / 397.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.5761, allocations: 8.062 kB / 397.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.5765, allocations: 27.97 kB / 397.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5766, allocations: 19.97 kB / 397.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5766, allocations: 4 kB / 397.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003176/0.5769, allocations: 168.5 kB / 397.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.577, allocations: 0 / 397.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.5777, allocations: 63.84 kB / 397.4 MB, free: 2.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003226/0.581, allocations: 0.9448 MB / 398.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.5827, allocations: 377.9 kB / 398.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5828, allocations: 0 / 398.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.5836, allocations: 215 kB / 398.9 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.5841, allocations: 27.47 kB / 399 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/0.591, allocations: 2.422 MB / 401.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.5916, allocations: 0.7443 MB / 402.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.5918, allocations: 17.95 kB / 402.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5921, allocations: 71.34 kB / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5921, allocations: 0 / 402.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/0.7187, allocations: 4.767 MB / 407 MB, free: 9.148 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.719, allocations: 217.3 kB / 407.2 MB, free: 8.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/3.63, allocations: 7.875 kB / 407.2 MB, free: 8.895 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat