Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.695/1.695, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 8 kB / 233.8 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08298, allocations: 38.76 MB / 272.5 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4431, allocations: 74.18 MB / 346.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.4434, allocations: 83.95 kB / 346.8 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1213/0.5648, allocations: 29.62 MB / 376.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5648, allocations: 0 / 376.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.5649, allocations: 31.94 kB / 376.5 MB, free: 10.91 MB / 314.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.006642/0.5716, allocations: 1.801 MB / 378.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5716, allocations: 12.03 kB / 378.3 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5732, allocations: 237.8 kB / 378.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.5769, allocations: 1.067 MB / 379.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5771, allocations: 90.52 kB / 379.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005435/0.5777, allocations: 128 kB / 379.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.5837, allocations: 1.739 MB / 381.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.5838, allocations: 0 / 381.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.584, allocations: 52 kB / 381.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.5842, allocations: 45.98 kB / 381.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005323/0.5895, allocations: 1.461 MB / 383.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.6057, allocations: 5.232 MB / 388.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.6081, allocations: 1.091 MB / 389.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.6083, allocations: 16.34 kB / 389.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.6083, allocations: 42.98 kB / 389.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 5.4e-06/0.6083, allocations: 288 / 389.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.00573/0.6141, allocations: 1.367 MB / 390.8 MB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.6142, allocations: 85.11 kB / 390.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.6168, allocations: 1.032 MB / 391.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.617, allocations: 33.7 kB / 392 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.6177, allocations: 0.6566 MB / 392.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.618, allocations: 181.5 kB / 392.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.6181, allocations: 12 kB / 392.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6183, allocations: 334.8 kB / 393.1 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6195, allocations: 353 kB / 393.5 MB, free: 9.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.6209, allocations: 0.4889 MB / 394 MB, free: 8.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6224, allocations: 421 kB / 394.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.6224, allocations: 0 / 394.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002983/0.6254, allocations: 0.909 MB / 395.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.6255, allocations: 11.95 kB / 395.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.6255, allocations: 4 kB / 395.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.6256, allocations: 8 kB / 395.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.6271, allocations: 180.1 kB / 395.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.6271, allocations: 7.938 kB / 395.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6283, allocations: 91.33 kB / 395.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6284, allocations: 20 kB / 395.6 MB, free: 7.082 MB / 330.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 () * Number of clocked 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.001463/0.6299, allocations: 0.517 MB / 396.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.6303, allocations: 90.97 kB / 396.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.6307, allocations: 107.9 kB / 396.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6308, allocations: 8 kB / 396.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.6308, allocations: 0 / 396.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6308, allocations: 7.984 kB / 396.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.6375, allocations: 2.259 MB / 398.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.6375, allocations: 8 kB / 398.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.6383, allocations: 87.98 kB / 398.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/0.639, allocations: 156.6 kB / 398.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.6391, allocations: 15.98 kB / 398.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.644, allocations: 2.664 MB / 401.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.644, allocations: 0 / 401.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.648, allocations: 1.436 MB / 403 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.6488, allocations: 255.9 kB / 403.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.6491, allocations: 23.98 kB / 403.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/0.65, allocations: 63.92 kB / 403.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.6503, allocations: 47.94 kB / 403.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.6503, allocations: 19.98 kB / 403.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001808/0.6522, allocations: 0.7293 MB / 404.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6522, allocations: 0 / 404.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0017/0.6539, allocations: 342.6 kB / 404.4 MB, free: 13.99 MB / 346.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 () * Number of clocked 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.0004127/0.6544, allocations: 143.1 kB / 404.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.6568, allocations: 0.7295 MB / 405.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.6569, allocations: 0 / 405.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.6587, allocations: 0.5596 MB / 405.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.6604, allocations: 171.4 kB / 406 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.6688, allocations: 3.233 MB / 409.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/0.6708, allocations: 1.468 MB / 410.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.6713, allocations: 59.42 kB / 410.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6714, allocations: 0 / 410.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of Templates: time 0.2619/0.9333, allocations: 18.25 MB / 429 MB, free: 93.11 MB / 346.7 MB