Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006585, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3512, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5119, allocations: 84.76 MB / 454.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5123, allocations: 71.91 kB / 454.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06422/0.5765, allocations: 8.917 MB / 463.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5766, allocations: 0 / 463.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.572e-05/0.5767, allocations: 12 kB / 463.6 MB, free: 12.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002536/0.5792, allocations: 0.6867 MB / 464.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.5793, allocations: 8.031 kB / 464.2 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.5795, allocations: 47.44 kB / 464.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/0.5803, allocations: 308.2 kB / 464.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.5804, allocations: 37 kB / 464.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.5806, allocations: 44 kB / 464.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.5826, allocations: 466.9 kB / 465.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.5827, allocations: 0 / 465.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.5828, allocations: 27.89 kB / 465.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.5828, allocations: 12 kB / 465.2 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.5848, allocations: 327.8 kB / 465.5 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005833/0.5907, allocations: 1.709 MB / 467.2 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.5921, allocations: 249 kB / 467.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.5921, allocations: 0 / 467.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.5922, allocations: 34.56 kB / 467.5 MB, free: 8.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.697e-06/0.5922, allocations: 0 / 467.5 MB, free: 8.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.006667/0.5989, allocations: 1.254 MB / 468.7 MB, free: 7.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.5991, allocations: 81.11 kB / 468.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.5997, allocations: 258.5 kB / 469.1 MB, free: 6.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.5997, allocations: 33.7 kB / 469.1 MB, free: 6.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.6, allocations: 314 kB / 469.4 MB, free: 6.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.6002, allocations: 110.4 kB / 469.5 MB, free: 6.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.6003, allocations: 12 kB / 469.5 MB, free: 6.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6005, allocations: 330.8 kB / 469.8 MB, free: 6.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.6013, allocations: 108.8 kB / 470 MB, free: 6.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.6022, allocations: 207.5 kB / 470.2 MB, free: 5.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.603, allocations: 139.7 kB / 470.3 MB, free: 5.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.603, allocations: 0 / 470.3 MB, free: 5.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002146/0.6052, allocations: 393.9 kB / 470.7 MB, free: 5.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.6053, allocations: 8.344 kB / 470.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6053, allocations: 8 kB / 470.7 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.6056, allocations: 36.8 kB / 470.7 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.607, allocations: 115.8 kB / 470.8 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.6089, allocations: 1.335 MB / 472.2 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6096, allocations: 12 kB / 472.2 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.6097, allocations: 20 kB / 472.2 MB, free: 3.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 48 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000462/0.6102, allocations: 165.6 kB / 472.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6104, allocations: 35.69 kB / 472.4 MB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.6106, allocations: 46.12 kB / 472.4 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6106, allocations: 4 kB / 472.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.6106, allocations: 0 / 472.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6107, allocations: 0 / 472.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.6119, allocations: 417.4 kB / 472.9 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6119, allocations: 0 / 472.9 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.6132, allocations: 91.88 kB / 472.9 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.6134, allocations: 32.78 kB / 473 MB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.6135, allocations: 11.98 kB / 473 MB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6153, allocations: 1.339 MB / 474.3 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6154, allocations: 4.062 kB / 474.3 MB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.618, allocations: 0.5928 MB / 474.9 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.6183, allocations: 128.6 kB / 475.1 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.6184, allocations: 8 kB / 475.1 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.6191, allocations: 19.98 kB / 475.1 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6193, allocations: 23.97 kB / 475.1 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.6193, allocations: 15.98 kB / 475.1 MB, free: 456 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004095/0.6198, allocations: 182 kB / 475.3 MB, free: 272 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.6198, allocations: 0 / 475.3 MB, free: 272 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.6208, allocations: 92 kB / 475.4 MB, free: 180 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (31): * Single equations (assignments): 30 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/0.6211, allocations: 103.2 kB / 475.5 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3447/0.9659, allocations: 398.7 kB / 475.9 MB, free: 95.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.9659, allocations: 0.625 kB / 475.9 MB, free: 95.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.9667, allocations: 257.6 kB / 476.1 MB, free: 95.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.9673, allocations: 35.92 kB / 476.2 MB, free: 95.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.9699, allocations: 1.15 MB / 477.3 MB, free: 95.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.9704, allocations: 0.818 MB / 478.1 MB, free: 94.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.9706, allocations: 30.19 kB / 478.2 MB, free: 94.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.103e-06/0.9706, allocations: 0 / 478.2 MB, free: 94.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01372/0.9844, allocations: 5.675 MB / 483.8 MB, free: 94.21 MB / 394.7 MB