Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.618e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2928, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking): time 0.01585/0.3087, allocations: 9.1 MB / 312.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008759/0.3175, allocations: 3.317 MB / 315.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.3195, allocations: 79.69 kB / 315.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.322, allocations: 0.606 MB / 316.4 MB, free: 496 kB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.003834/0.3258, allocations: 0.7748 MB / 317.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.328, allocations: 311.6 kB / 317.5 MB, free: 15.4 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.006715/0.3348, allocations: 1.615 MB / 319.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.339, allocations: 1.29 MB / 320.4 MB, free: 12.47 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.3411, allocations: 0.8297 MB / 321.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.3438, allocations: 1.125 MB / 322.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3451, allocations: 167.9 kB / 322.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.3457, allocations: 108 kB / 322.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.3469, allocations: 0.7087 MB / 323.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.348, allocations: 260 kB / 323.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006579/0.3546, allocations: 4.059 MB / 327.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3546, allocations: 0 / 327.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.212e-06/0.3546, allocations: 3.984 kB / 327.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3548, allocations: 0 / 327.7 MB, free: 5.203 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.009173/0.364, allocations: 2.661 MB / 330.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3641, allocations: 8.031 kB / 330.3 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.3659, allocations: 352 kB / 330.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.371, allocations: 1.719 MB / 332.4 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.3713, allocations: 184.9 kB / 332.6 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009016/0.3722, allocations: 252 kB / 332.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3826, allocations: 3.367 MB / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.3827, allocations: 11.94 kB / 336.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/0.3831, allocations: 108 kB / 336.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/0.3833, allocations: 124.8 kB / 336.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009297/0.3926, allocations: 2.911 MB / 339.3 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/0.4212, allocations: 10.87 MB / 350.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.4263, allocations: 2.421 MB / 352.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.4268, allocations: 131 kB / 352.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.4269, allocations: 47.81 kB / 352.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=133): time 3.898e-06/0.4269, allocations: 0 / 352.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=147): time 0.02766/0.4546, allocations: 7.149 MB / 360 MB, free: 4.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.4547, allocations: 94.42 kB / 360 MB, free: 3.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.4584, allocations: 1.56 MB / 361.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.4588, allocations: 49.7 kB / 361.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.4601, allocations: 1.222 MB / 362.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.4608, allocations: 0.4967 MB / 363.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.461, allocations: 32 kB / 363.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4612, allocations: 377.9 kB / 363.8 MB, free: 208 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.4635, allocations: 0.851 MB / 364.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.4662, allocations: 1.303 MB / 365.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.4689, allocations: 1.025 MB / 367 MB, free: 12.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.469, allocations: 4 kB / 367 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007845/0.4768, allocations: 2.845 MB / 369.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00227/0.4791, allocations: 5.681 MB / 375.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-05/0.4792, allocations: 12 kB / 375.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.482, allocations: 0.6785 MB / 376.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.4847, allocations: 355.4 kB / 376.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.4999, allocations: 8.501 MB / 385 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.5023, allocations: 111.8 kB / 385.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.5026, allocations: 68 kB / 385.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5026, allocations: 0 / 385.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007044/0.5096, allocations: 2.63 MB / 387.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/0.5097, allocations: 12.47 kB / 387.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.5123, allocations: 0.675 MB / 388.5 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.5149, allocations: 355.4 kB / 388.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.5303, allocations: 8.511 MB / 397.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.5326, allocations: 107.9 kB / 397.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.5329, allocations: 68 kB / 397.5 MB, free: 12.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 2 {(2,100.0%) 9,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.002206/0.5351, allocations: 0.851 MB / 398.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.5357, allocations: 197.6 kB / 398.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/0.5432, allocations: 2.566 MB / 401.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.5433, allocations: 16 kB / 401.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.5433, allocations: 4.75 kB / 401.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/0.5434, allocations: 11.97 kB / 401.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.559, allocations: 5.389 MB / 406.6 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.5591, allocations: 3.984 kB / 406.6 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.5611, allocations: 224 kB / 406.8 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.5642, allocations: 0.6785 MB / 407.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.5644, allocations: 39.94 kB / 407.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.5822, allocations: 9.994 MB / 417.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5822, allocations: 4.062 kB / 417.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.5924, allocations: 3.912 MB / 421.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.5941, allocations: 470.5 kB / 421.9 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/0.5946, allocations: 28 kB / 421.9 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.5966, allocations: 95.89 kB / 422 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/0.597, allocations: 125 kB / 422.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.5972, allocations: 43.98 kB / 422.2 MB, free: 3.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00287/0.6001, allocations: 1.197 MB / 423.4 MB, free: 2.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.6001, allocations: 0 / 423.4 MB, free: 2.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004758/0.6049, allocations: 0.9961 MB / 424.4 MB, free: 1.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smpm.inertiaRotor.w,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],inertiaLoad.phi) * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000553/0.6055, allocations: 155 kB / 424.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2649/0.8704, allocations: 4.564 MB / 429.1 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.8705, allocations: 1.25 kB / 429.1 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.874, allocations: 1.732 MB / 430.8 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.8783, allocations: 0.569 MB / 431.4 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.8938, allocations: 6.832 MB / 438.2 MB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.8962, allocations: 2.149 MB / 440.4 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004369/0.9006, allocations: 0.8853 MB / 441.2 MB, free: 99.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.9011, allocations: 95.44 kB / 441.3 MB, free: 99.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.505e-06/0.9012, allocations: 0 / 441.3 MB, free: 99.87 MB / 362.7 MB Notification: Performance of Templates: time 0.0995/1.001, allocations: 40.34 MB / 481.7 MB, free: 59.69 MB / 362.7 MB