Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.3 MB / 179.2 MB, free: 8.18 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.873e-05, allocations: 4 kB / 222.5 MB, free: 8.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06952/0.06956, allocations: 38.76 MB / 261.3 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3562, allocations: 73.45 MB / 334.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.3565, allocations: 73.33 kB / 334.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.465, allocations: 29.3 MB / 364.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.465, allocations: 0 / 364.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.4652, allocations: 35.94 kB / 364.1 MB, free: 4.793 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005016/0.4702, allocations: 1.649 MB / 365.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4703, allocations: 12.03 kB / 365.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4715, allocations: 226 kB / 366 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.4743, allocations: 1.055 MB / 367.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.4744, allocations: 40 kB / 367.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/0.4747, allocations: 76 kB / 367.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003186/0.4779, allocations: 1.29 MB / 368.5 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/0.4814, allocations: 1.484 MB / 370 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.4815, allocations: 0 / 370 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.4817, allocations: 4 kB / 370 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/0.4818, allocations: 49.98 kB / 370 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.4929, allocations: 4.992 MB / 375 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.4945, allocations: 1.02 MB / 376 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.4951, allocations: 358.2 kB / 376.4 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.4952, allocations: 4.703 kB / 376.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.4952, allocations: 38.98 kB / 376.4 MB, free: 8.004 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.981e-06/0.4953, allocations: 0 / 376.4 MB, free: 8.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001799/0.4971, allocations: 0.7245 MB / 377.1 MB, free: 7.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.4972, allocations: 85.11 kB / 377.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.4989, allocations: 0.8596 MB / 378.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.499, allocations: 25.7 kB / 378.1 MB, free: 6.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.4996, allocations: 0.6604 MB / 378.8 MB, free: 5.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.4998, allocations: 177.4 kB / 378.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.4999, allocations: 0 / 378.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5001, allocations: 330.8 kB / 379.3 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.5007, allocations: 301.4 kB / 379.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.5014, allocations: 440.4 kB / 380 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.5021, allocations: 365 kB / 380.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5021, allocations: 0 / 380.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001587/0.5037, allocations: 0.7721 MB / 381.1 MB, free: 3.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.462e-05/0.5038, allocations: 10.03 kB / 381.1 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5038, allocations: 4 kB / 381.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.5038, allocations: 11.95 kB / 381.1 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.5048, allocations: 180.3 kB / 381.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.5048, allocations: 11.98 kB / 381.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.5056, allocations: 67.39 kB / 381.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.5057, allocations: 27.94 kB / 381.4 MB, free: 2.867 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.5059, allocations: 120.8 kB / 381.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.5061, allocations: 90.97 kB / 381.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.5064, allocations: 96.11 kB / 381.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.5065, allocations: 4 kB / 381.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.5065, allocations: 11.95 kB / 381.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.651e-06/0.5065, allocations: 3.984 kB / 381.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.5108, allocations: 1.961 MB / 383.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.367e-06/0.5109, allocations: 4 kB / 383.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.5114, allocations: 83.88 kB / 383.8 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.512, allocations: 148.8 kB / 383.9 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.5121, allocations: 15.92 kB / 384 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003965/0.5161, allocations: 2.535 MB / 386.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.466e-06/0.5161, allocations: 0 / 386.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.5186, allocations: 1.307 MB / 387.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.5192, allocations: 255.8 kB / 388 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.5194, allocations: 11.98 kB / 388.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.5202, allocations: 51.95 kB / 388.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.5203, allocations: 59.86 kB / 388.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.5204, allocations: 11.98 kB / 388.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001247/0.5217, allocations: 0.6708 MB / 388.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-06/0.5217, allocations: 0 / 388.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001313/0.523, allocations: 318.5 kB / 389.2 MB, free: 10.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/0.5233, allocations: 135.7 kB / 389.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.5246, allocations: 0.6162 MB / 389.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5246, allocations: 1.062 kB / 389.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.5257, allocations: 0.4957 MB / 390.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5268, allocations: 145.9 kB / 390.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.5317, allocations: 2.171 MB / 392.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.5334, allocations: 1.468 MB / 394.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.5338, allocations: 55.42 kB / 394.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of SimCode: time 2.24e-06/0.5338, allocations: 0 / 394.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of Templates: time 0.03189/0.5657, allocations: 17.89 MB / 412.1 MB, free: 3.801 MB / 346.7 MB