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.385/2.385, allocations: 234.9 MB / 250.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007139/0.000714, allocations: 11.98 kB / 314.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3511, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.5365, allocations: 84.77 MB / 454 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.5369, allocations: 63.97 kB / 454.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04772/0.5847, allocations: 8.917 MB / 463 MB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.5847, allocations: 0 / 463 MB, free: 14.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.5848, allocations: 8 kB / 463 MB, free: 14.84 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.001388/0.5862, allocations: 0.6789 MB / 463.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5862, allocations: 12.03 kB / 463.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.5864, allocations: 47.44 kB / 463.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.5869, allocations: 308.2 kB / 464.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.587, allocations: 41 kB / 464.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.5871, allocations: 51.94 kB / 464.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.5883, allocations: 459 kB / 464.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5883, allocations: 0 / 464.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.5884, allocations: 23.95 kB / 464.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.5884, allocations: 19.98 kB / 464.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5895, allocations: 327.8 kB / 465 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.593, allocations: 1.701 MB / 466.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.5938, allocations: 248.9 kB / 466.9 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.5939, allocations: 4 kB / 466.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5939, allocations: 38.56 kB / 466.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.692e-06/0.5939, allocations: 0 / 466.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.003851/0.5978, allocations: 1.243 MB / 468.2 MB, free: 9.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.5979, allocations: 85.05 kB / 468.3 MB, free: 9.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.5983, allocations: 237.6 kB / 468.5 MB, free: 8.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.5984, allocations: 29.7 kB / 468.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.5986, allocations: 310 kB / 468.8 MB, free: 8.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5987, allocations: 118.4 kB / 469 MB, free: 8.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.5988, allocations: 8 kB / 469 MB, free: 8.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5989, allocations: 330.8 kB / 469.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.5994, allocations: 108.8 kB / 469.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.5998, allocations: 207.4 kB / 469.6 MB, free: 7.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.6003, allocations: 130.6 kB / 469.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-06/0.6003, allocations: 0 / 469.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001184/0.6015, allocations: 404.2 kB / 470.1 MB, free: 7.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6016, allocations: 12 kB / 470.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6016, allocations: 4 kB / 470.1 MB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.6018, allocations: 32.8 kB / 470.2 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.6024, allocations: 119.8 kB / 470.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.6039, allocations: 1.336 MB / 471.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.6044, allocations: 20 kB / 471.6 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.6044, allocations: 19.98 kB / 471.7 MB, free: 5.637 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.0004499/0.6049, allocations: 165.8 kB / 471.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.605, allocations: 27.62 kB / 471.8 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.6051, allocations: 38.17 kB / 471.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6051, allocations: 7.953 kB / 471.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.285e-06/0.6052, allocations: 0 / 471.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-06/0.6052, allocations: 0 / 471.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008076/0.606, allocations: 421.4 kB / 472.3 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-06/0.606, allocations: 0 / 472.3 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.6066, allocations: 95.88 kB / 472.4 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.6068, allocations: 24.84 kB / 472.4 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.6068, allocations: 11.98 kB / 472.4 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.6082, allocations: 1.332 MB / 473.8 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.198e-06/0.6082, allocations: 0 / 473.8 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.6097, allocations: 0.614 MB / 474.4 MB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.6099, allocations: 120.8 kB / 474.5 MB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.61, allocations: 11.88 kB / 474.5 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.6104, allocations: 23.98 kB / 474.5 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.6105, allocations: 23.97 kB / 474.6 MB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.6105, allocations: 15.98 kB / 474.6 MB, free: 2.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.6108, allocations: 178 kB / 474.7 MB, free: 2.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.6108, allocations: 3.938 kB / 474.7 MB, free: 2.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006537/0.6115, allocations: 92 kB / 474.8 MB, free: 2.215 MB / 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.000175/0.6117, allocations: 107.2 kB / 474.9 MB, free: 2.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.6129, allocations: 406.1 kB / 475.3 MB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.6129, allocations: 8.125 kB / 475.3 MB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.6135, allocations: 250.5 kB / 475.6 MB, free: 1.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.614, allocations: 36.55 kB / 475.6 MB, free: 1.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.6163, allocations: 1.141 MB / 476.8 MB, free: 220 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.6169, allocations: 0.823 MB / 477.6 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.617, allocations: 27.44 kB / 477.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.642e-06/0.617, allocations: 0 / 477.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01052/0.6276, allocations: 5.669 MB / 483.3 MB, free: 9.676 MB / 410.7 MB