Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005826/0.0005827, allocations: 12 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1119, allocations: 44.5 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01248/0.1245, allocations: 8.281 MB / 316.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.132, allocations: 3.08 MB / 319.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.1335, allocations: 55.81 kB / 319.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.1355, allocations: 0.5597 MB / 320.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.1401, allocations: 1.134 MB / 321.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.1433, allocations: 0.9157 MB / 322.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02197/0.1653, allocations: 12.66 MB / 335 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03281/0.1981, allocations: 15.2 MB / 350.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00602/0.2042, allocations: 3.326 MB / 353.6 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008031/0.2123, allocations: 4.305 MB / 357.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.2144, allocations: 0.582 MB / 358.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.218, allocations: 0.7614 MB / 359.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003146/0.2212, allocations: 1.799 MB / 361 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003364/0.2246, allocations: 1.783 MB / 362.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2388/0.4634, allocations: 15.67 MB / 378.5 MB, free: 33.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.194e-06/0.4634, allocations: 0 / 378.5 MB, free: 33.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4635, allocations: 0 / 378.5 MB, free: 33.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003562/0.4638, allocations: 0 / 378.5 MB, free: 33.79 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03418/0.498, allocations: 10.81 MB / 389.3 MB, free: 28.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4981, allocations: 9.531 kB / 389.3 MB, free: 28.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06138/0.5595, allocations: 8.528 MB / 397.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.5732, allocations: 5.486 MB / 403.3 MB, free: 23.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/0.574, allocations: 0.6576 MB / 404 MB, free: 23.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003791/0.5778, allocations: 0.8723 MB / 404.8 MB, free: 22.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/0.6189, allocations: 15.89 MB / 420.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/0.6193, allocations: 15.89 kB / 420.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00323/0.6225, allocations: 366.9 kB / 421.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005565/0.6231, allocations: 0.5569 MB / 421.7 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03961/0.6627, allocations: 15.64 MB / 437.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/0.7747, allocations: 48.43 MB / 485.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03709/0.8119, allocations: 19.29 MB / 0.4932 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/0.8129, allocations: 181.5 kB / 0.4933 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.8131, allocations: 82.52 kB / 0.4934 GB, free: 2.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=468): time 1.985e-05/0.8131, allocations: 0 / 0.4934 GB, free: 2.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=468): time 0.04741/0.8605, allocations: 11.49 MB / 0.5046 GB, free: 6.961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.8607, allocations: 133.1 kB / 0.5048 GB, free: 6.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008734/0.8694, allocations: 3.811 MB / 0.5085 GB, free: 2.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007708/0.8702, allocations: 101.7 kB / 0.5086 GB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003832/0.8741, allocations: 3.847 MB / 0.5124 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002441/0.8766, allocations: 1.602 MB / 0.5139 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008861/0.8775, allocations: 148 kB / 0.5141 GB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007429/0.8782, allocations: 0.6165 MB / 0.5147 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00861/0.8869, allocations: 3.652 MB / 0.5182 GB, free: 9.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01176/0.8987, allocations: 6.493 MB / 0.5246 GB, free: 1.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2407/1.139, allocations: 5.19 MB / 0.5296 GB, free: 143.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.657e-05/1.14, allocations: 27.34 kB / 0.5297 GB, free: 143.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02726/1.167, allocations: 11.78 MB / 0.5412 GB, free: 139.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.167, allocations: 44.91 kB / 0.5412 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.167, allocations: 96.47 kB / 0.5413 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006497/1.174, allocations: 1.617 MB / 0.5429 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/1.182, allocations: 1.667 MB / 0.5445 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/1.205, allocations: 16.53 MB / 0.5607 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00671/1.212, allocations: 0.9577 MB / 0.5616 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.213, allocations: 355.6 kB / 0.5619 GB, free: 126.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007353/1.22, allocations: 3.757 MB / 0.5656 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009401/1.221, allocations: 391.1 kB / 0.566 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/1.24, allocations: 8.563 MB / 0.5743 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/1.24, allocations: 48 kB / 0.5744 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-05/1.24, allocations: 15 kB / 0.5744 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001064/1.24, allocations: 28.47 kB / 0.5744 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03626/1.276, allocations: 16.89 MB / 0.5909 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/1.276, allocations: 7.984 kB / 0.5909 GB, free: 98.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004484/1.281, allocations: 0.8581 MB / 0.5918 GB, free: 98.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005613/1.286, allocations: 1.503 MB / 0.5932 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008723/1.287, allocations: 98.28 kB / 0.5933 GB, free: 96.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.309, allocations: 16.36 MB / 0.6093 GB, free: 79.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.704e-06/1.309, allocations: 7.938 kB / 0.6093 GB, free: 79.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/1.333, allocations: 12.16 MB / 0.6212 GB, free: 66.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/1.336, allocations: 1.123 MB / 0.6223 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.337, allocations: 83.98 kB / 0.6223 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/1.341, allocations: 303.7 kB / 0.6226 GB, free: 65.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/1.342, allocations: 331.5 kB / 0.623 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007358/1.343, allocations: 132 kB / 0.6231 GB, free: 64.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004751/1.348, allocations: 2.551 MB / 0.6256 GB, free: 62.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.98e-07/1.348, allocations: 0 / 0.6256 GB, free: 62.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009293/1.357, allocations: 2.373 MB / 0.6279 GB, free: 59.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/1.358, allocations: 253.7 kB / 0.6281 GB, free: 59.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01765/1.376, allocations: 9.313 MB / 0.6372 GB, free: 50.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.376, allocations: 4 kB / 0.6372 GB, free: 50.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008932/1.385, allocations: 4.469 MB / 0.6416 GB, free: 45.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.389, allocations: 0.633 MB / 0.6422 GB, free: 45.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03522/1.424, allocations: 19.92 MB / 0.6617 GB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009915/1.434, allocations: 6.074 MB / 0.6676 GB, free: 19.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/1.436, allocations: 427.3 kB / 0.668 GB, free: 18.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.965e-06/1.436, allocations: 0 / 0.668 GB, free: 18.59 MB / 426.7 MB Notification: Performance of Templates: time 1.155/2.591, allocations: 395.7 MB / 1.054 GB, free: 111.2 MB / 442.7 MB