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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.684/1.684, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 233.3 MB, free: 0.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07227, allocations: 38.76 MB / 272 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.361, allocations: 74.19 MB / 346.2 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.3613, allocations: 81.8 kB / 346.3 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1146/0.4759, allocations: 29.6 MB / 375.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.299e-06/0.476, allocations: 0 / 375.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.4761, allocations: 35.94 kB / 375.9 MB, free: 10.86 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.005648/0.4818, allocations: 1.808 MB / 377.7 MB, free: 9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4818, allocations: 12.03 kB / 377.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.4831, allocations: 237.8 kB / 378 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.4861, allocations: 1.063 MB / 379 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.4862, allocations: 90.52 kB / 379.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.4866, allocations: 132 kB / 379.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.4911, allocations: 1.731 MB / 381 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4911, allocations: 0 / 381 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.4914, allocations: 52 kB / 381 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.442e-05/0.4915, allocations: 53.98 kB / 381.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/0.4953, allocations: 1.461 MB / 382.5 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.508, allocations: 5.228 MB / 387.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.5099, allocations: 1.098 MB / 388.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.51, allocations: 4.422 kB / 388.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.5101, allocations: 42.92 kB / 388.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.811e-06/0.5101, allocations: 0 / 388.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.004316/0.5144, allocations: 1.37 MB / 390.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.5145, allocations: 81.11 kB / 390.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.5165, allocations: 0.934 MB / 391.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.5167, allocations: 37.7 kB / 391.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.5173, allocations: 0.6605 MB / 392 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.5176, allocations: 173.5 kB / 392.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.5177, allocations: 12 kB / 392.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5179, allocations: 338.8 kB / 392.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/0.5188, allocations: 349 kB / 392.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.5197, allocations: 0.4888 MB / 393.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.5207, allocations: 417 kB / 393.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.848e-06/0.5208, allocations: 4.281 kB / 393.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002227/0.523, allocations: 0.9052 MB / 394.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.5231, allocations: 8.031 kB / 394.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.5231, allocations: 11.95 kB / 394.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.5231, allocations: 8 kB / 394.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/0.5241, allocations: 179.7 kB / 394.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.5242, allocations: 15.97 kB / 394.9 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.525, allocations: 87.34 kB / 395 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.5251, allocations: 20 kB / 395 MB, free: 7.133 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.001176/0.5262, allocations: 0.5218 MB / 395.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.5266, allocations: 86.97 kB / 395.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.5269, allocations: 104 kB / 395.7 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5269, allocations: 11.95 kB / 395.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.5269, allocations: 8 kB / 395.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5269, allocations: 3.984 kB / 395.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.5324, allocations: 2.253 MB / 398 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.761e-06/0.5325, allocations: 8.094 kB / 398 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.533, allocations: 79.89 kB / 398 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006248/0.5337, allocations: 156.6 kB / 398.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.5338, allocations: 15.98 kB / 398.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004524/0.5383, allocations: 2.672 MB / 400.9 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.899e-06/0.5384, allocations: 3.938 kB / 400.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.5417, allocations: 1.476 MB / 402.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.5425, allocations: 267.8 kB / 402.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5427, allocations: 16 kB / 402.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.5434, allocations: 67.94 kB / 402.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.5436, allocations: 47.88 kB / 402.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.5437, allocations: 16.28 kB / 402.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.5452, allocations: 0.7332 MB / 403.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.5452, allocations: 0 / 403.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001471/0.5467, allocations: 342.5 kB / 403.8 MB, free: 13.97 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.0002958/0.547, allocations: 139.1 kB / 404 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.5489, allocations: 0.7333 MB / 404.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.394e-06/0.5489, allocations: 0 / 404.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.5503, allocations: 0.5637 MB / 405.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.5516, allocations: 159.7 kB / 405.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.5582, allocations: 3.23 MB / 408.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.5599, allocations: 1.468 MB / 410.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.5603, allocations: 59.42 kB / 410.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.811e-06/0.5603, allocations: 0 / 410.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of Templates: time 0.2184/0.7787, allocations: 18.25 MB / 428.4 MB, free: 93.62 MB / 346.7 MB