Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 12 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08419, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.4757, allocations: 78 MB / 350.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.4761, allocations: 80.89 kB / 350.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1582/0.6343, allocations: 37.09 MB / 387.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.731e-06/0.6343, allocations: 4 kB / 387.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.997e-05/0.6344, allocations: 12.19 kB / 387.3 MB, free: 12.23 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.003431/0.6378, allocations: 1.398 MB / 388.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.6379, allocations: 8.031 kB / 388.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.6381, allocations: 62.53 kB / 388.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.6384, allocations: 130.4 kB / 388.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.6401, allocations: 0.7307 MB / 389.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.6402, allocations: 12.44 kB / 389.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.6403, allocations: 27.91 kB / 389.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.6412, allocations: 306.6 kB / 390 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6412, allocations: 4 kB / 390 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.6413, allocations: 8 kB / 390 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.6413, allocations: 8 kB / 390 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.642, allocations: 225.8 kB / 390.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.645, allocations: 1.189 MB / 391.4 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.6457, allocations: 238.1 kB / 391.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/0.6479, allocations: 1.274 MB / 392.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.6479, allocations: 34.56 kB / 392.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 5.65e-06/0.648, allocations: 0 / 392.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.00569/0.6537, allocations: 2.071 MB / 395 MB, free: 3.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.6538, allocations: 110.8 kB / 395.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.6554, allocations: 0.7869 MB / 395.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.6555, allocations: 29.7 kB / 395.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.656, allocations: 361.6 kB / 396.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.6562, allocations: 130 kB / 396.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.6562, allocations: 4 kB / 396.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6564, allocations: 325.9 kB / 396.7 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.6568, allocations: 124.2 kB / 396.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.6573, allocations: 162.6 kB / 397 MB, free: 1.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.6578, allocations: 165.7 kB / 397.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6578, allocations: 0 / 397.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001589/0.6595, allocations: 0.5388 MB / 397.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.6595, allocations: 33.7 kB / 397.7 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-05/0.6596, allocations: 19.98 kB / 397.8 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.66, allocations: 69.67 kB / 397.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.6604, allocations: 39.92 kB / 397.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.664, allocations: 3.006 MB / 400.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.6647, allocations: 16.06 kB / 400.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/0.6648, allocations: 19.98 kB / 400.9 MB, free: 13.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006766/0.6655, allocations: 259.2 kB / 401.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.6659, allocations: 126.5 kB / 401.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6683, allocations: 0.6765 MB / 402 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.6684, allocations: 4 kB / 402 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6684, allocations: 3.984 kB / 402 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6684, allocations: 3.984 kB / 402 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.6697, allocations: 0.6083 MB / 402.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.6698, allocations: 15.98 kB / 402.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.6702, allocations: 35.92 kB / 402.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/0.6705, allocations: 73.67 kB / 402.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/0.6706, allocations: 19.94 kB / 402.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.6742, allocations: 3.005 MB / 405.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6743, allocations: 7.984 kB / 405.7 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.6766, allocations: 0.844 MB / 406.6 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.6774, allocations: 287.8 kB / 406.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6775, allocations: 8 kB / 406.9 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.6781, allocations: 20.05 kB / 406.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6782, allocations: 31.95 kB / 406.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.6783, allocations: 16 kB / 406.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.6795, allocations: 0.6178 MB / 407.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6795, allocations: 0 / 407.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001389/0.6809, allocations: 251.8 kB / 407.8 MB, free: 6.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003669/0.6846, allocations: 1.703 MB / 409.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.6864, allocations: 0.7615 MB / 410.3 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6865, allocations: 0 / 410.3 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6875, allocations: 0.6205 MB / 410.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.6883, allocations: 84.81 kB / 411 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6991, allocations: 4.704 MB / 415.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.6998, allocations: 1.022 MB / 416.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.7003, allocations: 64.58 kB / 416.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.7008, allocations: 271.3 kB / 417 MB, free: 12.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7008, allocations: 3.938 kB / 417 MB, free: 12.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/0.9987, allocations: 16.89 MB / 433.9 MB, free: 90.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.9989, allocations: 190.9 kB / 434.1 MB, free: 90.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/4.26, allocations: 0 / 434.1 MB, free: 90.65 MB / 346.7 MB