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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.105e-05, allocations: 7.906 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3486, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking): time 0.0163/0.365, allocations: 9.102 MB / 312.4 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.3749, allocations: 3.317 MB / 315.7 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.3773, allocations: 79.69 kB / 315.8 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.3802, allocations: 0.6021 MB / 316.4 MB, free: 0.5273 MB / 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.004325/0.3846, allocations: 0.7748 MB / 317.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.3866, allocations: 311.6 kB / 317.5 MB, free: 15.45 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.00526/0.3919, allocations: 1.615 MB / 319.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.3948, allocations: 1.29 MB / 320.4 MB, free: 12.52 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.002019/0.3969, allocations: 0.8297 MB / 321.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.3997, allocations: 1.121 MB / 322.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.4011, allocations: 175.9 kB / 322.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.4017, allocations: 108 kB / 322.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.403, allocations: 0.7047 MB / 323.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.404, allocations: 264 kB / 323.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.411, allocations: 4.059 MB / 327.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.411, allocations: 0 / 327.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.117e-06/0.411, allocations: 4 kB / 327.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.4112, allocations: 0 / 327.6 MB, free: 5.242 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.008957/0.4202, allocations: 2.661 MB / 330.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4203, allocations: 8.031 kB / 330.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.4221, allocations: 348 kB / 330.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005743/0.4279, allocations: 1.722 MB / 332.4 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.4282, allocations: 181 kB / 332.6 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/0.429, allocations: 255.8 kB / 332.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.4413, allocations: 3.371 MB / 336.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.4414, allocations: 7.938 kB / 336.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.442, allocations: 108 kB / 336.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/0.4423, allocations: 120.8 kB / 336.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.4556, allocations: 2.908 MB / 339.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/0.4937, allocations: 10.88 MB / 350.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006941/0.5007, allocations: 2.417 MB / 352.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.5013, allocations: 126.4 kB / 352.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/0.5014, allocations: 48.44 kB / 352.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=133): time 8.656e-06/0.5014, allocations: 0 / 352.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=147): time 0.03313/0.5346, allocations: 7.149 MB / 359.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.5347, allocations: 94.42 kB / 360 MB, free: 4.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.5388, allocations: 1.567 MB / 361.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/0.5392, allocations: 49.7 kB / 361.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.5404, allocations: 1.147 MB / 362.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008799/0.5413, allocations: 0.4929 MB / 363.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.5415, allocations: 36 kB / 363.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.5418, allocations: 382.7 kB / 363.7 MB, free: 324 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.5444, allocations: 0.8433 MB / 364.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.5477, allocations: 1.31 MB / 365.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.551, allocations: 1.025 MB / 366.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.551, allocations: 8 kB / 366.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.008251/0.5593, allocations: 2.725 MB / 369.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002675/0.562, allocations: 5.484 MB / 375.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.5621, allocations: 16 kB / 375.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/0.5651, allocations: 0.6746 MB / 375.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.568, allocations: 359.4 kB / 376.1 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.5841, allocations: 8.505 MB / 384.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5866, allocations: 111.8 kB / 384.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.5868, allocations: 68 kB / 384.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5869, allocations: 4 kB / 384.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007408/0.5943, allocations: 2.631 MB / 387.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-05/0.5944, allocations: 16 kB / 387.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.5969, allocations: 0.6635 MB / 388.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.5995, allocations: 347.5 kB / 388.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.6155, allocations: 8.569 MB / 397 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.6171, allocations: 99.91 kB / 397.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.6173, allocations: 75.98 kB / 397.2 MB, free: 13.31 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.002315/0.6196, allocations: 0.8393 MB / 398 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/0.6203, allocations: 205.5 kB / 398.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007277/0.6276, allocations: 2.555 MB / 400.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.6277, allocations: 16 kB / 400.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.6277, allocations: 4.094 kB / 400.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/0.6277, allocations: 19.88 kB / 400.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.6428, allocations: 5.393 MB / 406.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.6429, allocations: 0 / 406.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.6447, allocations: 220 kB / 406.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.6477, allocations: 0.7019 MB / 407.1 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.648, allocations: 35.98 kB / 407.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.6653, allocations: 9.979 MB / 417.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6653, allocations: 4.031 kB / 417.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.6757, allocations: 3.904 MB / 421.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.6774, allocations: 474.4 kB / 421.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006591/0.6781, allocations: 32.09 kB / 421.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.6801, allocations: 95.83 kB / 421.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/0.6807, allocations: 125 kB / 421.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.6809, allocations: 39.98 kB / 421.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003199/0.6841, allocations: 1.205 MB / 423 MB, free: 2.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6842, allocations: 0 / 423 MB, free: 2.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005194/0.6894, allocations: 0.9844 MB / 424 MB, free: 1.691 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.0005944/0.69, allocations: 159 kB / 424.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.26/0.95, allocations: 4.51 MB / 428.7 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/0.9501, allocations: 1.281 kB / 428.7 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00405/0.9542, allocations: 1.735 MB / 430.4 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.004285/0.9585, allocations: 0.5698 MB / 431 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.9744, allocations: 6.836 MB / 437.8 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/0.9768, allocations: 2.119 MB / 439.9 MB, free: 100.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008869/0.9777, allocations: 137.9 kB / 440.1 MB, free: 100.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9777, allocations: 0 / 440.1 MB, free: 100.7 MB / 362.7 MB Notification: Performance of Templates: time 0.1134/1.091, allocations: 81.74 MB / 0.5096 GB, free: 19.79 MB / 362.7 MB