Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.0917, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5299, allocations: 82.13 MB / 390.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.5303, allocations: 79.95 kB / 390.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1453/0.6756, allocations: 36.62 MB / 427.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6756, allocations: 0 / 427.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.6757, allocations: 16 kB / 427.4 MB, free: 5.48 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.002847/0.6785, allocations: 1.404 MB / 428.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6786, allocations: 15.02 kB / 428.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.6787, allocations: 58.27 kB / 428.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.6789, allocations: 127.9 kB / 429 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.6804, allocations: 0.7156 MB / 429.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.6805, allocations: 23.28 kB / 429.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.6806, allocations: 19.06 kB / 429.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.6813, allocations: 314.8 kB / 430 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6813, allocations: 0 / 430 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.6814, allocations: 11 kB / 430.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.6814, allocations: 3.906 kB / 430.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.682, allocations: 230.5 kB / 430.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.6846, allocations: 1.181 MB / 431.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.6852, allocations: 240.9 kB / 431.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.6869, allocations: 1.276 MB / 433 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.687, allocations: 42.33 kB / 433 MB, free: 1.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.266e-06/0.687, allocations: 0 / 433 MB, free: 1.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004751/0.6917, allocations: 2.062 MB / 435.1 MB, free: 272 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.6918, allocations: 114.3 kB / 435.2 MB, free: 144 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.6932, allocations: 0.7885 MB / 436 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.6933, allocations: 33.3 kB / 436 MB, free: 15.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.6937, allocations: 351.9 kB / 436.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6938, allocations: 128.8 kB / 436.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.6939, allocations: 7.75 kB / 436.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.694, allocations: 322.3 kB / 436.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.6944, allocations: 123.3 kB / 436.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.6948, allocations: 153.5 kB / 437.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.6953, allocations: 171.5 kB / 437.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6953, allocations: 0 / 437.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001265/0.6966, allocations: 470.9 kB / 437.7 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.6966, allocations: 41.39 kB / 437.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/0.6967, allocations: 15.61 kB / 437.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.697, allocations: 71.47 kB / 437.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.6974, allocations: 43.16 kB / 437.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.7007, allocations: 3.006 MB / 440.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000653/0.7014, allocations: 11.09 kB / 440.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.7015, allocations: 23.97 kB / 440.9 MB, free: 11.96 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.0006414/0.7021, allocations: 256.2 kB / 441.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.7024, allocations: 118.5 kB / 441.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.7048, allocations: 0.6765 MB / 441.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.7049, allocations: 7.984 kB / 442 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7049, allocations: 8 kB / 442 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.7049, allocations: 3.984 kB / 442 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.7061, allocations: 0.6123 MB / 442.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.7062, allocations: 12 kB / 442.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.7065, allocations: 35.91 kB / 442.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/0.7069, allocations: 70.36 kB / 442.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.707, allocations: 18.36 kB / 442.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.7103, allocations: 3.002 MB / 445.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7103, allocations: 0 / 445.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.7126, allocations: 0.8475 MB / 446.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.7133, allocations: 287.5 kB / 446.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.7135, allocations: 8 kB / 446.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.714, allocations: 15.98 kB / 446.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.7141, allocations: 35.91 kB / 446.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.7142, allocations: 24.05 kB / 446.9 MB, free: 6.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.7155, allocations: 0.6139 MB / 447.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7155, allocations: 0 / 447.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001377/0.7169, allocations: 255.8 kB / 447.8 MB, free: 5.312 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.003527/0.7204, allocations: 1.696 MB / 449.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.7221, allocations: 0.761 MB / 450.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.7222, allocations: 0 / 450.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7233, allocations: 0.6178 MB / 450.9 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.724, allocations: 85.45 kB / 450.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.7349, allocations: 4.752 MB / 455.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.7357, allocations: 1.022 MB / 456.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.7362, allocations: 271.3 kB / 457 MB, free: 11.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7363, allocations: 4 kB / 457 MB, free: 11.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.937/3.674, allocations: 19.56 MB / 476.6 MB, free: 8.219 MB / 362.7 MB