Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.9 MB / 210.6 MB, free: 8.336 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.326e-05, allocations: 0 / 258.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2868, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking): time 0.01988/0.3067, allocations: 12.33 MB / 315.7 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.318, allocations: 4.473 MB / 320.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.3202, allocations: 115.6 kB / 320.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.3229, allocations: 0.7962 MB / 321 MB, free: 11.83 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 NFTyping.typeBindings: time 0.005187/0.3281, allocations: 1.246 MB / 322.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3308, allocations: 0.6685 MB / 323 MB, free: 9.914 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.005375/0.3362, allocations: 2.114 MB / 325.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.3391, allocations: 1.607 MB / 326.7 MB, free: 6.176 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.001923/0.3411, allocations: 1.017 MB / 327.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.3435, allocations: 1.277 MB / 329 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3447, allocations: 283.7 kB / 329.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005164/0.3453, allocations: 132 kB / 329.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008998/0.3462, allocations: 0.6811 MB / 330.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009133/0.3471, allocations: 304 kB / 330.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.3544, allocations: 5.193 MB / 335.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3544, allocations: 0 / 335.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3544, allocations: 0 / 335.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3546, allocations: 0 / 335.5 MB, free: 13.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.0118/0.3664, allocations: 3.383 MB / 338.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3664, allocations: 8.031 kB / 338.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.3709, allocations: 0.628 MB / 339.6 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00576/0.3767, allocations: 2.118 MB / 341.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.377, allocations: 230.2 kB / 341.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/0.3777, allocations: 312 kB / 342.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.3887, allocations: 4.126 MB / 346.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.3889, allocations: 11.84 kB / 346.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.3893, allocations: 120 kB / 346.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.3895, allocations: 150 kB / 346.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009984/0.3995, allocations: 3.53 MB / 350.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.4307, allocations: 13.73 MB / 363.9 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.4395, allocations: 5.874 MB / 369.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008264/0.4478, allocations: 3.166 MB / 372.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.4479, allocations: 55.88 kB / 373 MB, free: 6.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=142): time 3.988e-06/0.4479, allocations: 0 / 373 MB, free: 6.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=146): time 0.02164/0.4695, allocations: 6.698 MB / 379.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.4696, allocations: 98.42 kB / 379.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.4733, allocations: 1.626 MB / 381.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.4735, allocations: 49.7 kB / 381.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.4749, allocations: 1.447 MB / 382.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005849/0.4755, allocations: 0.4929 MB / 383.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.4757, allocations: 36 kB / 383.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.4759, allocations: 373.9 kB / 383.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.478, allocations: 0.7612 MB / 384.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.4806, allocations: 1.29 MB / 385.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.483, allocations: 0.9511 MB / 386.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.483, allocations: 7.938 kB / 386.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006937/0.49, allocations: 2.753 MB / 389.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.4925, allocations: 6.682 MB / 396.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/0.4926, allocations: 16 kB / 396.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.4947, allocations: 0.5108 MB / 396.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.4975, allocations: 387.3 kB / 397.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.5093, allocations: 7.396 MB / 404.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.5116, allocations: 99.83 kB / 404.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.5118, allocations: 80.19 kB / 404.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5119, allocations: 4 kB / 404.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006278/0.5181, allocations: 2.515 MB / 407.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.5182, allocations: 16 kB / 407.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.5201, allocations: 0.523 MB / 407.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.5227, allocations: 379.3 kB / 408.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.5343, allocations: 7.399 MB / 415.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.5364, allocations: 87.84 kB / 415.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.5366, allocations: 75.98 kB / 415.7 MB, free: 9.754 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (193): * Single equations (assignments): 189 * 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 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.002459/0.5391, allocations: 0.9893 MB / 416.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.5396, allocations: 209.5 kB / 416.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/0.5461, allocations: 2.521 MB / 419.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.5461, allocations: 12 kB / 419.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5461, allocations: 8 kB / 419.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.5462, allocations: 7.969 kB / 419.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5587, allocations: 5.32 MB / 424.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5587, allocations: 0 / 424.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.5604, allocations: 196 kB / 424.9 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.266/0.8264, allocations: 0.6414 MB / 425.6 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.8267, allocations: 33.56 kB / 425.6 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/0.8423, allocations: 11.46 MB / 437.1 MB, free: 95.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8424, allocations: 7.906 kB / 437.1 MB, free: 95.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/0.8501, allocations: 3.794 MB / 440.9 MB, free: 94.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.8513, allocations: 458 kB / 441.3 MB, free: 93.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/0.8518, allocations: 35.33 kB / 441.4 MB, free: 93.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.8534, allocations: 79.42 kB / 441.4 MB, free: 93.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.8537, allocations: 118.4 kB / 441.5 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.8539, allocations: 38.98 kB / 441.6 MB, free: 93.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002339/0.8562, allocations: 1.255 MB / 442.8 MB, free: 93.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.8562, allocations: 0 / 442.8 MB, free: 93.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004082/0.8603, allocations: 1.055 MB / 443.9 MB, free: 93.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 5 (smpm.inertiaRotor.w,smpm.stator.zeroInductor.i0,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,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 (95): * Single equations (assignments): 90 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003936/0.8608, allocations: 159.6 kB / 444.1 MB, free: 93.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008204/0.869, allocations: 4.297 MB / 448.3 MB, free: 90.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.869, allocations: 3.125 kB / 448.4 MB, free: 90.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.8725, allocations: 1.81 MB / 450.2 MB, free: 88.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.8764, allocations: 0.6017 MB / 450.8 MB, free: 88.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.8896, allocations: 7.061 MB / 457.8 MB, free: 81.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.892, allocations: 2.373 MB / 460.2 MB, free: 78.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004169/0.8962, allocations: 0.8022 MB / 461 MB, free: 78.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.8966, allocations: 103.4 kB / 461.1 MB, free: 77.97 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8966, allocations: 0 / 461.1 MB, free: 77.97 MB / 362.7 MB Notification: Performance of Templates: time 0.0884/0.985, allocations: 39.16 MB / 0.4885 GB, free: 38.8 MB / 362.7 MB