Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.308/2.308, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.883e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.359, allocations: 54.87 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4892, allocations: 84.69 MB / 449.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4895, allocations: 60.55 kB / 449.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05703/0.5465, allocations: 8.914 MB / 458.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.409e-06/0.5466, allocations: 5.812 kB / 458.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.5467, allocations: 8 kB / 458.2 MB, free: 2.801 MB / 378.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.002765/0.5495, allocations: 0.6511 MB / 458.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.287e-05/0.5496, allocations: 12.03 kB / 458.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.5499, allocations: 51.38 kB / 458.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5511, allocations: 308.2 kB / 459.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.5512, allocations: 37 kB / 459.3 MB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.5515, allocations: 44 kB / 459.3 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.5537, allocations: 439.1 kB / 459.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.5537, allocations: 0 / 459.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.5539, allocations: 19.95 kB / 459.8 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.554, allocations: 12 kB / 459.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.5557, allocations: 279.9 kB / 460 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007372/0.5631, allocations: 1.706 MB / 461.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5643, allocations: 213.1 kB / 462 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.565, allocations: 126.9 kB / 462.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.5651, allocations: 4 kB / 462.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/0.5652, allocations: 42.52 kB / 462.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.053e-05/0.5652, allocations: 3.984 kB / 462.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.006137/0.5714, allocations: 1.114 MB / 463.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5716, allocations: 85.06 kB / 463.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.5724, allocations: 230.9 kB / 463.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.5725, allocations: 29.7 kB / 463.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.5729, allocations: 317.9 kB / 463.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.5732, allocations: 118.3 kB / 464 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.5733, allocations: 12 kB / 464 MB, free: 12.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/0.5736, allocations: 327.6 kB / 464.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.5742, allocations: 84.88 kB / 464.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.575, allocations: 195.6 kB / 464.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.5757, allocations: 104.9 kB / 464.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.5757, allocations: 7.938 kB / 464.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001989/0.5777, allocations: 365 kB / 465.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.5778, allocations: 4.344 kB / 465.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.5779, allocations: 11.95 kB / 465.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.5782, allocations: 29.88 kB / 465.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.5797, allocations: 123.8 kB / 465.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.5826, allocations: 1.335 MB / 466.6 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.5834, allocations: 19.98 kB / 466.6 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.5835, allocations: 16 kB / 466.6 MB, free: 9.816 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.000311/0.5839, allocations: 136.9 kB / 466.7 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.5842, allocations: 31.62 kB / 466.8 MB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.5844, allocations: 45.91 kB / 466.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5844, allocations: 4 kB / 466.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5844, allocations: 3.938 kB / 466.8 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5845, allocations: 0 / 466.8 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.5877, allocations: 0.7125 MB / 467.5 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.5877, allocations: 4 kB / 467.5 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.5891, allocations: 95.88 kB / 467.6 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.5894, allocations: 28.97 kB / 467.7 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.5895, allocations: 8.062 kB / 467.7 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.5911, allocations: 1.32 MB / 469 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.372e-06/0.5911, allocations: 0 / 469 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5922, allocations: 0.5894 MB / 469.6 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.5924, allocations: 124.8 kB / 469.7 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.5925, allocations: 8 kB / 469.7 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5929, allocations: 19.98 kB / 469.7 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.593, allocations: 28.89 kB / 469.8 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.5931, allocations: 12 kB / 469.8 MB, free: 6.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.5933, allocations: 183.1 kB / 470 MB, free: 6.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.89e-07/0.5934, allocations: 4 kB / 470 MB, free: 6.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.594, allocations: 92 kB / 470 MB, free: 6.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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.0001737/0.5942, allocations: 103.2 kB / 470.1 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.5951, allocations: 366.9 kB / 470.5 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.956e-06/0.5951, allocations: 128 / 470.5 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.5956, allocations: 239.5 kB / 470.7 MB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5961, allocations: 45.31 kB / 470.8 MB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.5978, allocations: 0.6987 MB / 471.5 MB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.5984, allocations: 0.8152 MB / 472.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5985, allocations: 35.42 kB / 472.3 MB, free: 3.727 MB / 394.7 MB Notification: Performance of SimCode: time 1.868e-06/0.5985, allocations: 0 / 472.3 MB, free: 3.727 MB / 394.7 MB Notification: Performance of Templates: time 0.01104/0.6096, allocations: 5.699 MB / 478 MB, free: 14.04 MB / 410.7 MB