Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 264.6 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08744, allocations: 44.49 MB / 309.1 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.05169/0.1392, allocations: 31.76 MB / 340.8 MB, free: 476 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.1649, allocations: 9.587 MB / 350.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006562/0.1715, allocations: 235.1 kB / 350.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009186/0.1807, allocations: 2.099 MB / 352.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0157/0.1964, allocations: 3.583 MB / 356.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.2049, allocations: 1.62 MB / 358 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03202/0.237, allocations: 13.99 MB / 371.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3472/0.5842, allocations: 24.39 MB / 396.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.5981, allocations: 5.755 MB / 402.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.6107, allocations: 6.472 MB / 408.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004236/0.615, allocations: 0.9343 MB / 409.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007084/0.6221, allocations: 1.249 MB / 410.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00515/0.6273, allocations: 2.928 MB / 413.7 MB, free: 8.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005174/0.6325, allocations: 3.105 MB / 416.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03642/0.669, allocations: 26.96 MB / 443.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6691, allocations: 0 / 443.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.6691, allocations: 0 / 443.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007521/0.6698, allocations: 2.844 kB / 443.7 MB, free: 0.6406 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06566/0.7355, allocations: 15.8 MB / 459.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7356, allocations: 12.03 kB / 459.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07815/0.8137, allocations: 9.203 MB / 468.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/0.8419, allocations: 9.025 MB / 477.8 MB, free: 280 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001575/0.8435, allocations: 1.071 MB / 478.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006463/0.85, allocations: 1.409 MB / 480.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0947/0.9447, allocations: 23 MB / 0.4915 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008739/0.9457, allocations: 23.8 kB / 0.4915 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00704/0.9527, allocations: 0.5846 MB / 0.4921 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001952/0.9548, allocations: 0.8109 MB / 0.4929 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5918/1.547, allocations: 21.61 MB / 0.514 GB, free: 105.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/1.705, allocations: 74.3 MB / 0.5865 GB, free: 59.79 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04821/1.753, allocations: 53.54 MB / 0.6388 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04103/1.794, allocations: 15.28 MB / 0.6537 GB, free: 4.883 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.896e-05/1.794, allocations: 94.75 kB / 0.6538 GB, free: 4.781 MB / 426.8 MB Notification: Performance of pre-optimization done (n=514): time 9.327e-06/1.794, allocations: 0 / 0.6538 GB, free: 4.781 MB / 426.8 MB Notification: Performance of matching and sorting (n=522): time 0.09838/1.892, allocations: 27.29 MB / 0.6805 GB, free: 9.066 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.893, allocations: 133.3 kB / 0.6806 GB, free: 8.918 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/1.905, allocations: 5.797 MB / 0.6862 GB, free: 3.148 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.906, allocations: 113.7 kB / 0.6863 GB, free: 3.031 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2929/2.199, allocations: 6.264 MB / 0.6925 GB, free: 148.9 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002488/2.202, allocations: 1.792 MB / 0.6942 GB, free: 147.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008493/2.203, allocations: 158 kB / 0.6944 GB, free: 147.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006335/2.203, allocations: 0.6219 MB / 0.695 GB, free: 147.5 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/2.214, allocations: 3.753 MB / 0.6986 GB, free: 147.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/2.226, allocations: 6.792 MB / 0.7053 GB, free: 143.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/2.238, allocations: 5.214 MB / 0.7104 GB, free: 141.3 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/2.238, allocations: 27.25 kB / 0.7104 GB, free: 141.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.03168/2.27, allocations: 12.53 MB / 0.7226 GB, free: 136.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/2.27, allocations: 50.06 kB / 0.7227 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/2.27, allocations: 100.1 kB / 0.7228 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/2.277, allocations: 1.601 MB / 0.7243 GB, free: 135.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.289, allocations: 1.762 MB / 0.7261 GB, free: 135.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03286/2.322, allocations: 18.62 MB / 0.7442 GB, free: 123.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00865/2.33, allocations: 440.9 kB / 0.7447 GB, free: 122.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/2.332, allocations: 395.2 kB / 0.745 GB, free: 122.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 905 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01118/2.343, allocations: 5.252 MB / 0.7502 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/2.345, allocations: 0.6166 MB / 0.7508 GB, free: 117.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/2.369, allocations: 9.57 MB / 0.7601 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-05/2.369, allocations: 27 kB / 0.7601 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/2.369, allocations: 4 kB / 0.7601 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.373, allocations: 1.371 MB / 0.7615 GB, free: 108.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/2.375, allocations: 107.1 kB / 0.7616 GB, free: 108 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/2.38, allocations: 296.3 kB / 0.7619 GB, free: 107.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/2.381, allocations: 439 kB / 0.7623 GB, free: 107.5 MB / 458.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03075/2.412, allocations: 9.251 MB / 0.7713 GB, free: 99.04 MB / 458.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02499/2.437, allocations: 10.9 MB / 0.782 GB, free: 88 MB / 458.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007127/2.444, allocations: 3.408 MB / 0.7853 GB, free: 84.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.008853/2.453, allocations: 3.875 MB / 0.7891 GB, free: 80.75 MB / 458.8 MB Notification: Performance of Backend: time 1.082e-06/2.453, allocations: 0 / 0.7891 GB, free: 80.75 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01924/2.472, allocations: 7.408 MB / 0.7963 GB, free: 73.32 MB / 458.8 MB Notification: Performance of SimCode: time 0.05876/2.531, allocations: 29.35 MB / 0.825 GB, free: 43.91 MB / 458.8 MB Notification: Performance of Templates: time 0.5969/3.128, allocations: 110.3 MB / 0.9327 GB, free: 88.67 MB / 458.8 MB