Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.1 MB, free: 7.578 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005262, allocations: 11.98 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.308, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4562, allocations: 82.13 MB / 390.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4565, allocations: 71.97 kB / 390.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4433/0.8998, allocations: 36.62 MB / 427.4 MB, free: 84.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.8999, allocations: 0 / 427.4 MB, free: 84.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.395e-05/0.8999, allocations: 15.53 kB / 427.4 MB, free: 84.31 MB / 346.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.002822/0.9028, allocations: 1.402 MB / 428.8 MB, free: 83.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9028, allocations: 10.25 kB / 428.8 MB, free: 83.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.903, allocations: 59.67 kB / 428.9 MB, free: 83.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.9032, allocations: 132.7 kB / 429 MB, free: 83.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.9046, allocations: 0.72 MB / 429.7 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.9047, allocations: 20.56 kB / 429.7 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.9048, allocations: 26.09 kB / 429.8 MB, free: 82.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007885/0.9056, allocations: 303.6 kB / 430.1 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.9056, allocations: 0 / 430.1 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.9057, allocations: 12.88 kB / 430.1 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.9057, allocations: 8.344 kB / 430.1 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/0.9063, allocations: 232.3 kB / 430.3 MB, free: 82.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.909, allocations: 1.176 MB / 431.5 MB, free: 82.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.9096, allocations: 237.5 kB / 431.7 MB, free: 82.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.9112, allocations: 1.279 MB / 433 MB, free: 81.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.9113, allocations: 42.23 kB / 433 MB, free: 81.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 4.809e-06/0.9113, allocations: 0 / 433 MB, free: 81.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.004764/0.9161, allocations: 2.068 MB / 435.1 MB, free: 79.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.9162, allocations: 119.6 kB / 435.2 MB, free: 79.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.9174, allocations: 0.7822 MB / 436 MB, free: 79.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.9175, allocations: 32.2 kB / 436 MB, free: 79.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.9178, allocations: 353.8 kB / 436.4 MB, free: 79.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.918, allocations: 133.8 kB / 436.5 MB, free: 79.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.918, allocations: 4 kB / 436.5 MB, free: 79.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.9181, allocations: 316.2 kB / 436.8 MB, free: 78.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.9185, allocations: 126.8 kB / 437 MB, free: 78.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.9189, allocations: 152.1 kB / 437.1 MB, free: 78.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.9193, allocations: 180.3 kB / 437.3 MB, free: 78.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.9193, allocations: 4.031 kB / 437.3 MB, free: 78.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001381/0.9207, allocations: 0.5202 MB / 437.8 MB, free: 78.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.9208, allocations: 40.8 kB / 437.8 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.583e-05/0.9209, allocations: 20.5 kB / 437.9 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.9212, allocations: 63.97 kB / 437.9 MB, free: 78.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.9216, allocations: 43.61 kB / 438 MB, free: 78.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.9242, allocations: 3.007 MB / 441 MB, free: 75.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/0.9249, allocations: 13.06 kB / 441 MB, free: 75.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.925, allocations: 25.88 kB / 441 MB, free: 75.4 MB / 346.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.000543/0.9256, allocations: 255.1 kB / 441.3 MB, free: 75.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.9258, allocations: 116.5 kB / 441.4 MB, free: 75.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.928, allocations: 0.6745 MB / 442 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.928, allocations: 7 kB / 442.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.928, allocations: 0 / 442.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.9281, allocations: 0 / 442.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.9292, allocations: 0.615 MB / 442.7 MB, free: 74.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/0.9293, allocations: 18.08 kB / 442.7 MB, free: 74.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.9296, allocations: 45.5 kB / 442.7 MB, free: 74.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003095/0.93, allocations: 73.98 kB / 442.8 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.93, allocations: 18.06 kB / 442.8 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.9326, allocations: 3 MB / 445.8 MB, free: 71.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9326, allocations: 0 / 445.8 MB, free: 71.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.9347, allocations: 0.8558 MB / 446.7 MB, free: 71.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.9354, allocations: 285.9 kB / 447 MB, free: 70.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.9355, allocations: 7.938 kB / 447 MB, free: 70.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.936, allocations: 17.19 kB / 447 MB, free: 70.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.9362, allocations: 34.98 kB / 447 MB, free: 70.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.9362, allocations: 18.3 kB / 447 MB, free: 70.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.9373, allocations: 0.6176 MB / 447.7 MB, free: 70.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9373, allocations: 0 / 447.7 MB, free: 70.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001328/0.9387, allocations: 254.6 kB / 447.9 MB, free: 70.5 MB / 346.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.00306/0.9418, allocations: 1.699 MB / 449.6 MB, free: 69.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.9434, allocations: 0.7622 MB / 450.4 MB, free: 68.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.9435, allocations: 8.062 kB / 450.4 MB, free: 68.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.9444, allocations: 0.6115 MB / 451 MB, free: 68.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.9452, allocations: 87.61 kB / 451.1 MB, free: 68.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.9543, allocations: 4.691 MB / 455.8 MB, free: 63.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.9548, allocations: 1.023 MB / 456.8 MB, free: 62.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004338/0.9553, allocations: 62.89 kB / 456.8 MB, free: 62.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.9557, allocations: 273.9 kB / 457.1 MB, free: 62.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9557, allocations: 3.938 kB / 457.1 MB, free: 62.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/1.007, allocations: 16.91 MB / 474 MB, free: 46.86 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.008, allocations: 200 kB / 474.2 MB, free: 46.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.509, allocations: 0 / 474.2 MB, free: 46.61 MB / 346.7 MB