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.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.817e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3764, allocations: 54.85 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.5032, allocations: 83.23 MB / 447.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5034, allocations: 78.42 kB / 447.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02795/0.5314, allocations: 6.537 MB / 454.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.5315, allocations: 0 / 454.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5315, allocations: 8 kB / 454.4 MB, free: 6.633 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001015/0.5325, allocations: 0.5272 MB / 454.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5326, allocations: 16.03 kB / 454.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.5327, allocations: 39.52 kB / 455 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.5332, allocations: 267 kB / 455.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.5333, allocations: 20.56 kB / 455.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.5333, allocations: 24 kB / 455.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.5339, allocations: 224.9 kB / 455.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.534, allocations: 0 / 455.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.534, allocations: 15.98 kB / 455.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-06/0.534, allocations: 9.406 kB / 455.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.5346, allocations: 206.1 kB / 455.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.5366, allocations: 0.8729 MB / 456.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.5376, allocations: 335.8 kB / 456.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.5379, allocations: 124.9 kB / 457 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.538, allocations: 4 kB / 457 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.538, allocations: 38.55 kB / 457.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 6.311e-06/0.538, allocations: 0 / 457.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.002277/0.5403, allocations: 0.4929 MB / 457.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5404, allocations: 55.41 kB / 457.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.5407, allocations: 196.9 kB / 457.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.5408, allocations: 29.7 kB / 457.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.541, allocations: 214.7 kB / 458.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5411, allocations: 102.5 kB / 458.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.5411, allocations: 8 kB / 458.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5413, allocations: 324.2 kB / 458.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5415, allocations: 83.94 kB / 458.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5418, allocations: 105.9 kB / 458.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.5421, allocations: 101.3 kB / 458.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/0.5421, allocations: 0 / 458.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002198/0.5443, allocations: 0.4986 MB / 459.3 MB, free: 1.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5444, allocations: 5.875 kB / 459.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-06/0.5444, allocations: 4 kB / 459.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.5465, allocations: 311.2 kB / 459.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5467, allocations: 27.92 kB / 459.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.5567, allocations: 6.366 MB / 466 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5571, allocations: 31.8 kB / 466 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5571, allocations: 11.98 kB / 466 MB, free: 10.2 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.5573, allocations: 117 kB / 466.1 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.5574, allocations: 27.62 kB / 466.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.5596, allocations: 0.5191 MB / 466.7 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5596, allocations: 4 kB / 466.7 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.108e-06/0.5596, allocations: 7.953 kB / 466.7 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-06/0.5596, allocations: 3.984 kB / 466.7 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.5603, allocations: 345.3 kB / 467 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.279e-06/0.5603, allocations: 4 kB / 467 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5605, allocations: 23.97 kB / 467.1 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.5624, allocations: 315.1 kB / 467.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.5625, allocations: 4 kB / 467.4 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009561/0.5721, allocations: 6.293 MB / 473.7 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-06/0.5721, allocations: 8.031 kB / 473.7 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.5743, allocations: 0.5965 MB / 474.3 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5744, allocations: 100.8 kB / 474.4 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.5745, allocations: 7.953 kB / 474.4 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.5748, allocations: 15.98 kB / 474.4 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5749, allocations: 31.95 kB / 474.4 MB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.575, allocations: 11.94 kB / 474.4 MB, free: 1.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.5752, allocations: 161.3 kB / 474.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.046e-06/0.5752, allocations: 0 / 474.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007046/0.5759, allocations: 123.8 kB / 474.7 MB, free: 0.8359 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001949/0.5762, allocations: 118.3 kB / 474.8 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.5775, allocations: 0.7171 MB / 475.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.866e-06/0.5775, allocations: 4 kB / 475.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.5787, allocations: 0.6427 MB / 476.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.5791, allocations: 21.2 kB / 476.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5801, allocations: 378.8 kB / 476.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5806, allocations: 0.7756 MB / 477.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.5807, allocations: 15.44 kB / 477.4 MB, free: 14 MB / 410.7 MB Notification: Performance of SimCode: time 1.784e-06/0.5807, allocations: 0 / 477.4 MB, free: 14 MB / 410.7 MB Notification: Performance of Templates: time 0.01288/0.5936, allocations: 7.694 MB / 485.1 MB, free: 6.305 MB / 410.7 MB