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.71/1.71, allocations: 171.2 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003627, allocations: 8 kB / 233.2 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07035/0.07075, allocations: 38.76 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005718/0.07652, allocations: 3.7 MB / 275.6 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.07993, allocations: 1.395 MB / 277 MB, free: 7.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.08053, allocations: 27.88 kB / 277 MB, free: 7.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.08119, allocations: 195 kB / 277.2 MB, free: 6.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.0831, allocations: 498.3 kB / 277.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.08386, allocations: 170.9 kB / 277.9 MB, free: 6.207 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.0863, allocations: 1.17 MB / 279.1 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.08781, allocations: 0.85 MB / 279.9 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009933/0.08883, allocations: 0.5449 MB / 280.5 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.09015, allocations: 0.6927 MB / 281.1 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.09043, allocations: 84 kB / 281.2 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.09099, allocations: 144 kB / 281.4 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.09151, allocations: 390.8 kB / 281.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.09202, allocations: 320.9 kB / 282.1 MB, free: 2.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.09489, allocations: 1.956 MB / 284 MB, free: 44 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.881e-06/0.09493, allocations: 0 / 284 MB, free: 44 kB / 234.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.09495, allocations: 0 / 284 MB, free: 44 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.095, allocations: 0 / 284 MB, free: 44 kB / 234.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.005517/0.1005, allocations: 1.887 MB / 285.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1006, allocations: 8.031 kB / 285.9 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.1023, allocations: 285.9 kB / 286.2 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.1049, allocations: 0.9771 MB / 287.2 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.105, allocations: 98.52 kB / 287.3 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.1054, allocations: 120 kB / 287.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.11, allocations: 1.767 MB / 289.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.1101, allocations: 7.938 kB / 289.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.1103, allocations: 51.98 kB / 289.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/0.1104, allocations: 49.92 kB / 289.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004095/0.1145, allocations: 1.547 MB / 290.8 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.1267, allocations: 5.279 MB / 296.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.1287, allocations: 1.087 MB / 297.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.1287, allocations: 12.41 kB / 297.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.1288, allocations: 34.98 kB / 297.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 3.781e-06/0.1288, allocations: 0 / 297.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.004336/0.1332, allocations: 1.369 MB / 298.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.1333, allocations: 85.11 kB / 298.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1782/0.3115, allocations: 1.031 MB / 299.7 MB, free: 29.53 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.3116, allocations: 35.67 kB / 299.7 MB, free: 29.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.3121, allocations: 0.6552 MB / 300.4 MB, free: 29.22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3123, allocations: 172.9 kB / 300.6 MB, free: 29.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3123, allocations: 11.81 kB / 300.6 MB, free: 29.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.3124, allocations: 335.7 kB / 300.9 MB, free: 28.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/0.3133, allocations: 349.5 kB / 301.2 MB, free: 28.8 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.3142, allocations: 0.4962 MB / 301.7 MB, free: 28.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.315, allocations: 418.9 kB / 302.1 MB, free: 28.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.46e-06/0.3151, allocations: 2.906 kB / 302.1 MB, free: 28.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002107/0.3172, allocations: 0.9021 MB / 303.1 MB, free: 28.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3172, allocations: 7.828 kB / 303.1 MB, free: 28.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3173, allocations: 7.031 kB / 303.1 MB, free: 28.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.3173, allocations: 12.53 kB / 303.1 MB, free: 28.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.3183, allocations: 176.1 kB / 303.2 MB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.3183, allocations: 13.36 kB / 303.3 MB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.319, allocations: 92.39 kB / 303.4 MB, free: 28.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.3191, allocations: 27.7 kB / 303.4 MB, free: 28.18 MB / 250.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.0009464/0.3201, allocations: 0.5153 MB / 303.9 MB, free: 27.9 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3203, allocations: 88.41 kB / 304 MB, free: 27.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3205, allocations: 112.8 kB / 304.1 MB, free: 27.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.669e-06/0.3206, allocations: 8.594 kB / 304.1 MB, free: 27.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.3206, allocations: 7.734 kB / 304.1 MB, free: 27.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.079e-06/0.3206, allocations: 2.984 kB / 304.1 MB, free: 27.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/0.3252, allocations: 2.258 MB / 306.4 MB, free: 26.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.848e-06/0.3253, allocations: 1.438 kB / 306.4 MB, free: 26.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.3259, allocations: 94.08 kB / 306.5 MB, free: 26.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/0.3264, allocations: 151.1 kB / 306.6 MB, free: 26.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.3265, allocations: 19.02 kB / 306.6 MB, free: 26.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.3304, allocations: 2.668 MB / 309.3 MB, free: 24.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-06/0.3304, allocations: 2.156 kB / 309.3 MB, free: 24.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.3334, allocations: 1.426 MB / 310.7 MB, free: 24.13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.334, allocations: 261.2 kB / 311 MB, free: 23.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.3341, allocations: 26.02 kB / 311 MB, free: 23.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.3348, allocations: 58.77 kB / 311.1 MB, free: 23.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.335, allocations: 56 kB / 311.1 MB, free: 23.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.3351, allocations: 15.25 kB / 311.1 MB, free: 23.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.3363, allocations: 0.732 MB / 311.9 MB, free: 23.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.3363, allocations: 0 / 311.9 MB, free: 23.63 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001274/0.3376, allocations: 339.7 kB / 312.2 MB, free: 23.54 MB / 250.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.0002133/0.3378, allocations: 130.1 kB / 312.3 MB, free: 23.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3395, allocations: 0.735 MB / 313.1 MB, free: 23.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.84e-06/0.3395, allocations: 2.109 kB / 313.1 MB, free: 23.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3408, allocations: 0.5619 MB / 313.6 MB, free: 22.95 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3419, allocations: 173.3 kB / 313.8 MB, free: 22.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.3472, allocations: 3.238 MB / 317 MB, free: 20.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.3484, allocations: 1.47 MB / 318.5 MB, free: 19.69 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.3488, allocations: 58.7 kB / 318.6 MB, free: 19.68 MB / 250.7 MB Notification: Performance of SimCode: time 1.68e-06/0.3488, allocations: 0 / 318.6 MB, free: 19.68 MB / 250.7 MB Notification: Performance of Templates: time 0.02544/0.3742, allocations: 18.24 MB / 336.8 MB, free: 2.543 MB / 250.7 MB