Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.517/2.517, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006005/0.0006009, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3596, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.513, allocations: 83.3 MB / 453.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5134, allocations: 83.89 kB / 453.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02979/0.5432, allocations: 6.563 MB / 459.7 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5432, allocations: 4 kB / 459.8 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.5433, allocations: 4 kB / 459.8 MB, free: 0.625 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.001323/0.5446, allocations: 0.5459 MB / 460.3 MB, free: 32 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5447, allocations: 16.02 kB / 460.3 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.5448, allocations: 35.62 kB / 460.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.5454, allocations: 278.9 kB / 460.6 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.5455, allocations: 16.56 kB / 460.6 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.5455, allocations: 24 kB / 460.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.5464, allocations: 252.9 kB / 460.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5464, allocations: 0 / 460.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.5465, allocations: 8 kB / 460.9 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5465, allocations: 8 kB / 460.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.5474, allocations: 238.1 kB / 461.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.5498, allocations: 0.8909 MB / 462 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.5508, allocations: 307.7 kB / 462.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.5509, allocations: 7.984 kB / 462.4 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.5509, allocations: 42.56 kB / 462.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/0.551, allocations: 0 / 462.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.007902/0.5589, allocations: 1.235 MB / 463.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.559, allocations: 55.41 kB / 463.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.5593, allocations: 209 kB / 463.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5594, allocations: 29.7 kB / 463.9 MB, free: 12.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5595, allocations: 219.5 kB / 464.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5597, allocations: 110.4 kB / 464.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.5597, allocations: 8 kB / 464.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5598, allocations: 322.8 kB / 464.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.5602, allocations: 95.95 kB / 464.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.5607, allocations: 125.9 kB / 464.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.5611, allocations: 121.2 kB / 464.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5611, allocations: 3.953 kB / 464.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003228/0.5644, allocations: 0.5454 MB / 465.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.5644, allocations: 7.984 kB / 465.5 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5644, allocations: 0 / 465.5 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.5673, allocations: 311.2 kB / 465.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.5677, allocations: 27.97 kB / 465.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.5786, allocations: 6.41 MB / 472.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.5791, allocations: 35.75 kB / 472.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.5791, allocations: 8 kB / 472.2 MB, free: 3.242 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 () * Number of clocked 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.0002593/0.5794, allocations: 141.8 kB / 472.4 MB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.5795, allocations: 23.72 kB / 472.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.5826, allocations: 0.566 MB / 473 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5827, allocations: 0 / 473 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5827, allocations: 4 kB / 473 MB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5827, allocations: 3.953 kB / 473 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.5834, allocations: 361.2 kB / 473.3 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5834, allocations: 0 / 473.3 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5836, allocations: 19.98 kB / 473.4 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/0.5864, allocations: 319.1 kB / 473.7 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.5864, allocations: 8 kB / 473.7 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3083/0.8947, allocations: 6.347 MB / 480 MB, free: 93.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8948, allocations: 0.6094 kB / 480 MB, free: 93.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.898, allocations: 0.6291 MB / 480.6 MB, free: 93.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.8982, allocations: 108 kB / 480.8 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.8983, allocations: 4.281 kB / 480.8 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.8986, allocations: 15.67 kB / 480.8 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.8988, allocations: 38.72 kB / 480.8 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.8989, allocations: 11.06 kB / 480.8 MB, free: 93.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.8991, allocations: 157.8 kB / 481 MB, free: 93.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8991, allocations: 0 / 481 MB, free: 93.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.8999, allocations: 119.2 kB / 481.1 MB, free: 93.44 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 () * Number of clocked 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.0001858/0.9001, allocations: 119.5 kB / 481.2 MB, free: 93.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.9017, allocations: 0.7419 MB / 481.9 MB, free: 92.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-05/0.9017, allocations: 0 / 481.9 MB, free: 92.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.9033, allocations: 0.681 MB / 482.6 MB, free: 92.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.9037, allocations: 16.8 kB / 482.6 MB, free: 92.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9053, allocations: 0.6564 MB / 483.3 MB, free: 92.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.9057, allocations: 0.7816 MB / 484.1 MB, free: 91.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.9058, allocations: 12.94 kB / 484.1 MB, free: 91.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9058, allocations: 3.094 kB / 484.1 MB, free: 91.38 MB / 394.7 MB Notification: Performance of Templates: time 0.02031/0.9261, allocations: 7.637 MB / 491.7 MB, free: 89.88 MB / 394.7 MB