Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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) 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.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.5529, allocations: 80.45 MB / 389.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/0.5533, allocations: 84.11 kB / 389.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1491/0.7024, allocations: 30.69 MB / 420.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7025, allocations: 7.844 kB / 420.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.7027, allocations: 31.34 kB / 420.3 MB, free: 6.434 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00736/0.71, allocations: 1.849 MB / 422.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7101, allocations: 15.7 kB / 422.2 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.7127, allocations: 323.8 kB / 422.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.7162, allocations: 1.084 MB / 423.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.7164, allocations: 100.5 kB / 423.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.717, allocations: 129.1 kB / 423.8 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.7225, allocations: 1.853 MB / 425.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/0.7226, allocations: 0 / 425.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.7229, allocations: 52.84 kB / 425.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/0.723, allocations: 47.72 kB / 425.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.7282, allocations: 1.617 MB / 427.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.7422, allocations: 5.591 MB / 433 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.7469, allocations: 2.904 MB / 435.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003864/0.7508, allocations: 1.53 MB / 437.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.7509, allocations: 38.44 kB / 437.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 3.887e-06/0.7509, allocations: 0 / 437.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.005708/0.7566, allocations: 1.435 MB / 438.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.7567, allocations: 85.11 kB / 438.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.7591, allocations: 1.02 MB / 440 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.7594, allocations: 45.64 kB / 440 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.7601, allocations: 0.6769 MB / 440.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.7604, allocations: 188.7 kB / 440.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.7605, allocations: 12 kB / 440.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.7607, allocations: 333.9 kB / 441.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.7618, allocations: 373 kB / 441.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.7631, allocations: 0.5215 MB / 442.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.7644, allocations: 444.8 kB / 442.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.7644, allocations: 4 kB / 442.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003036/0.7675, allocations: 1.025 MB / 443.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.7675, allocations: 12.12 kB / 443.6 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7675, allocations: 4 kB / 443.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.7676, allocations: 15.94 kB / 443.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.769, allocations: 179.8 kB / 443.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.7691, allocations: 11.94 kB / 443.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009788/0.7701, allocations: 95.61 kB / 443.9 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.7701, allocations: 24 kB / 443.9 MB, free: 7.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.001333/0.7715, allocations: 0.5247 MB / 444.4 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.7718, allocations: 90.91 kB / 444.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.7741, allocations: 0.7163 MB / 445.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.7741, allocations: 8 kB / 445.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7741, allocations: 0 / 445.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7741, allocations: 3.984 kB / 445.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.7785, allocations: 1.667 MB / 446.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.7786, allocations: 4 kB / 446.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.7795, allocations: 99.97 kB / 447 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006957/0.7802, allocations: 154 kB / 447.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.7803, allocations: 15.98 kB / 447.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.7851, allocations: 2.677 MB / 449.8 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7852, allocations: 32 / 449.8 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.7893, allocations: 1.515 MB / 451.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.7899, allocations: 188 kB / 451.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.7901, allocations: 12 kB / 451.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7911, allocations: 67.94 kB / 451.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.7914, allocations: 51.92 kB / 451.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.7915, allocations: 19.98 kB / 451.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001596/0.7931, allocations: 0.7214 MB / 452.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7931, allocations: 4 kB / 452.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001483/0.7946, allocations: 374.4 kB / 452.8 MB, free: 14.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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.0003998/0.795, allocations: 145.5 kB / 452.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.7974, allocations: 0.7877 MB / 453.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7974, allocations: 0.875 kB / 453.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7991, allocations: 0.5946 MB / 454.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.8006, allocations: 171.1 kB / 454.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.8081, allocations: 3.315 MB / 457.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.8098, allocations: 1.523 MB / 459.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00124/0.8111, allocations: 238.7 kB / 459.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.8114, allocations: 59.44 kB / 459.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8114, allocations: 0 / 459.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of Templates: time 0.03679/0.8482, allocations: 10.77 MB / 470.4 MB, free: 12.62 MB / 362.7 MB