Running command: translateModel(Modelica.Electrical.Machines.Examples.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|der.dcse.inertiaRotor.w.|dcse.inertiaRotor.phi|dcse.inertiaRotor.w|der.dcse.la.i.|dcse.la.i",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.128/1.128, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.548e-05, allocations: 0 / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07458/0.07464, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCSE_Start): time 0.007163/0.08187, allocations: 2.62 MB / 182.3 MB, free: 6.984 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.08439, allocations: 0.589 MB / 182.9 MB, free: 6.395 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.08487, allocations: 12 kB / 182.9 MB, free: 6.383 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.08509, allocations: 59.59 kB / 183 MB, free: 6.324 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.08588, allocations: 135.6 kB / 183.1 MB, free: 6.191 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.08629, allocations: 67.88 kB / 183.2 MB, free: 6.125 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000818/0.08713, allocations: 251.5 kB / 183.4 MB, free: 5.879 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.08755, allocations: 104 kB / 183.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.088, allocations: 135.6 kB / 183.6 MB, free: 5.637 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.08846, allocations: 151.5 kB / 183.8 MB, free: 5.488 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.08859, allocations: 16 kB / 183.8 MB, free: 5.473 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.08869, allocations: 16 kB / 183.8 MB, free: 5.457 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.08882, allocations: 63.69 kB / 183.9 MB, free: 5.395 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.089, allocations: 40 kB / 183.9 MB, free: 5.355 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008673/0.08989, allocations: 427 kB / 184.3 MB, free: 4.938 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08992, allocations: 0 / 184.3 MB, free: 4.938 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.08994, allocations: 0 / 184.3 MB, free: 4.938 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.08998, allocations: 0 / 184.3 MB, free: 4.938 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002/0.092, allocations: 0.6047 MB / 184.9 MB, free: 4.285 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.09208, allocations: 11.97 kB / 185 MB, free: 4.273 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.0923, allocations: 47.44 kB / 185 MB, free: 4.227 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.0932, allocations: 309.2 kB / 185.3 MB, free: 3.887 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.09329, allocations: 29 kB / 185.3 MB, free: 3.859 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.09346, allocations: 47.97 kB / 185.4 MB, free: 3.812 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.09518, allocations: 405.5 kB / 185.8 MB, free: 3.387 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.09526, allocations: 7.906 kB / 185.8 MB, free: 3.379 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.09536, allocations: 16 kB / 185.8 MB, free: 3.363 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.09541, allocations: 12 kB / 185.8 MB, free: 3.352 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.09698, allocations: 267.8 kB / 186.1 MB, free: 3.094 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.1017, allocations: 1.389 MB / 187.5 MB, free: 1.613 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1029, allocations: 215 kB / 187.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.103, allocations: 8.062 kB / 187.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.103, allocations: 38.75 kB / 187.7 MB, free: 1.34 MB / 154.7 MB Notification: Performance of pre-optimization done (n=22): time 4.098e-06/0.103, allocations: 0 / 187.7 MB, free: 1.34 MB / 154.7 MB Notification: Performance of matching and sorting (n=24): time 0.004365/0.1074, allocations: 0.8977 MB / 188.6 MB, free: 380 kB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.1076, allocations: 81.11 kB / 188.7 MB, free: 280 kB / 154.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3115:9-3117:50:writable] Warning: Parameter dcse.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0005) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3112:9-3114:50:writable] Warning: Parameter dcse.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcse.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcse.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcse.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=147.6548547187203) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcse.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcse.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter dcse.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcse.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter dcse.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.1083, allocations: 229.7 kB / 188.9 MB, free: 48 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.1084, allocations: 33.7 kB / 189 MB, free: 8 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.1087, allocations: 270.3 kB / 189.2 MB, free: 15.74 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1089, allocations: 86.73 kB / 189.3 MB, free: 15.66 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1089, allocations: 4 kB / 189.3 MB, free: 15.65 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1091, allocations: 326.8 kB / 189.6 MB, free: 15.32 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.1097, allocations: 80.23 kB / 189.7 MB, free: 15.25 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.1103, allocations: 136.2 kB / 189.8 MB, free: 15.09 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.1109, allocations: 107.9 kB / 189.9 MB, free: 14.98 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.111, allocations: 0 / 189.9 MB, free: 14.98 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001685/0.1127, allocations: 323 kB / 190.3 MB, free: 14.65 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.1127, allocations: 8 kB / 190.3 MB, free: 14.64 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1128, allocations: 0 / 190.3 MB, free: 14.64 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.1133, allocations: 61.62 kB / 190.3 MB, free: 14.58 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.114, allocations: 60.16 kB / 190.4 MB, free: 14.52 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.1185, allocations: 2.806 MB / 193.2 MB, free: 11.44 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.1191, allocations: 24.05 kB / 193.2 MB, free: 11.42 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.1192, allocations: 12 kB / 193.2 MB, free: 11.41 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcse.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004729/0.1197, allocations: 156.5 kB / 193.4 MB, free: 11.25 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1198, allocations: 27.72 kB / 193.4 MB, free: 11.22 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.12, allocations: 26.19 kB / 193.4 MB, free: 11.19 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.12, allocations: 8.016 kB / 193.4 MB, free: 11.18 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.12, allocations: 8 kB / 193.4 MB, free: 11.18 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.1201, allocations: 3.984 kB / 193.4 MB, free: 11.17 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.1227, allocations: 0.7591 MB / 194.2 MB, free: 10.34 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.1228, allocations: 0 / 194.2 MB, free: 10.34 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.1235, allocations: 43.97 kB / 194.3 MB, free: 10.3 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.1239, allocations: 61.75 kB / 194.3 MB, free: 10.23 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.124, allocations: 8 kB / 194.3 MB, free: 10.23 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.1284, allocations: 2.798 MB / 197.1 MB, free: 7.16 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.1284, allocations: 0 / 197.1 MB, free: 7.16 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.1306, allocations: 0.5177 MB / 197.6 MB, free: 6.602 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.1309, allocations: 124.8 kB / 197.8 MB, free: 6.461 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.131, allocations: 7.938 kB / 197.8 MB, free: 6.453 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.1316, allocations: 19.98 kB / 197.8 MB, free: 6.434 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1317, allocations: 19.97 kB / 197.8 MB, free: 6.414 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.1318, allocations: 4 kB / 197.8 MB, free: 6.41 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.1322, allocations: 178 kB / 198 MB, free: 6.234 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.1322, allocations: 0 / 198 MB, free: 6.234 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001041/0.1333, allocations: 80 kB / 198.1 MB, free: 6.156 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcse.inertiaRotor.w,dcse.airGapDC.psi_e,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002377/0.1335, allocations: 111.2 kB / 198.2 MB, free: 6.039 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.1354, allocations: 469.6 kB / 198.6 MB, free: 5.555 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1354, allocations: 0 / 198.6 MB, free: 5.555 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.1365, allocations: 357.4 kB / 199 MB, free: 5.176 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.1374, allocations: 44.47 kB / 199 MB, free: 5.133 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.1405, allocations: 1.013 MB / 200 MB, free: 4.086 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.1412, allocations: 0.8064 MB / 200.8 MB, free: 3.254 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1414, allocations: 23.44 kB / 200.9 MB, free: 3.23 MB / 170.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1414, allocations: 0 / 200.9 MB, free: 3.23 MB / 170.7 MB Notification: Performance of Templates: time 0.1573/0.2987, allocations: 6.41 MB / 207.3 MB, free: 22.73 MB / 170.7 MB