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 0.9682/0.9682, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.91e-05, allocations: 8 kB / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 25.15 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05881/0.2012, allocations: 38.79 MB / 215.3 MB, free: 10.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.2015, allocations: 63.97 kB / 215.4 MB, free: 10.62 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.2311, allocations: 7.529 MB / 222.9 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.08e-06/0.2312, allocations: 3.938 kB / 222.9 MB, free: 3.047 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.2312, allocations: 8 kB / 222.9 MB, free: 3.039 MB / 186.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.001224/0.2325, allocations: 0.5802 MB / 223.5 MB, free: 2.414 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2325, allocations: 16.03 kB / 223.5 MB, free: 2.398 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2327, allocations: 47.39 kB / 223.6 MB, free: 2.352 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.2332, allocations: 302.3 kB / 223.9 MB, free: 2.016 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.2332, allocations: 28.78 kB / 223.9 MB, free: 1.988 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.2334, allocations: 36 kB / 223.9 MB, free: 1.953 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.2342, allocations: 353.4 kB / 224.3 MB, free: 1.594 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.2342, allocations: 11.98 kB / 224.3 MB, free: 1.582 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.2343, allocations: 16 kB / 224.3 MB, free: 1.566 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.2343, allocations: 19.95 kB / 224.3 MB, free: 1.547 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.235, allocations: 225.5 kB / 224.6 MB, free: 1.328 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.2376, allocations: 1.282 MB / 225.8 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.2381, allocations: 186.9 kB / 226 MB, free: 15.77 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.2385, allocations: 145.2 kB / 226.2 MB, free: 15.62 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.2386, allocations: 8.141 kB / 226.2 MB, free: 15.62 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.2386, allocations: 38.73 kB / 226.2 MB, free: 15.57 MB / 202.7 MB Notification: Performance of pre-optimization done (n=22): time 3.23e-06/0.2386, allocations: 224 / 226.2 MB, free: 15.57 MB / 202.7 MB Notification: Performance of matching and sorting (n=24): time 0.001669/0.2403, allocations: 0.6577 MB / 226.9 MB, free: 14.86 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.2404, allocations: 89 kB / 227 MB, free: 14.75 MB / 202.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.0004661/0.2409, allocations: 247.5 kB / 227.2 MB, free: 14.51 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.2409, allocations: 29.7 kB / 227.2 MB, free: 14.47 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2412, allocations: 266.3 kB / 227.5 MB, free: 14.21 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.2413, allocations: 82.81 kB / 227.6 MB, free: 14.12 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.2413, allocations: 8 kB / 227.6 MB, free: 14.12 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2415, allocations: 322.8 kB / 227.9 MB, free: 13.79 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2417, allocations: 64.28 kB / 228 MB, free: 13.73 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2419, allocations: 118.5 kB / 228.1 MB, free: 13.59 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.2422, allocations: 84.64 kB / 228.1 MB, free: 13.51 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.488e-06/0.2422, allocations: 0 / 228.1 MB, free: 13.51 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000733/0.2429, allocations: 290.3 kB / 228.4 MB, free: 13.21 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.243, allocations: 16.92 kB / 228.4 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.171e-06/0.243, allocations: 0 / 228.4 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.2433, allocations: 57.64 kB / 228.5 MB, free: 13.14 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2436, allocations: 51.97 kB / 228.6 MB, free: 13.09 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.2466, allocations: 2.779 MB / 231.3 MB, free: 10.04 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.247, allocations: 19.98 kB / 231.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.247, allocations: 16.06 kB / 231.4 MB, free: 10 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcse.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0002029/0.2472, allocations: 121.4 kB / 231.5 MB, free: 9.879 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.2473, allocations: 23.72 kB / 231.5 MB, free: 9.855 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.2474, allocations: 29.95 kB / 231.5 MB, free: 9.828 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.452e-06/0.2474, allocations: 4 kB / 231.5 MB, free: 9.824 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-06/0.2475, allocations: 0 / 231.5 MB, free: 9.824 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-06/0.2475, allocations: 3.953 kB / 231.5 MB, free: 9.82 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2489, allocations: 0.7374 MB / 232.3 MB, free: 9.016 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2489, allocations: 0 / 232.3 MB, free: 9.016 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.2492, allocations: 43.97 kB / 232.3 MB, free: 8.973 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.2495, allocations: 61.7 kB / 232.4 MB, free: 8.906 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.2496, allocations: 8 kB / 232.4 MB, free: 8.898 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.2525, allocations: 2.775 MB / 235.2 MB, free: 5.848 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.034e-06/0.2525, allocations: 0 / 235.2 MB, free: 5.848 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.2535, allocations: 466 kB / 235.6 MB, free: 5.352 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.2537, allocations: 120.7 kB / 235.7 MB, free: 5.215 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.2538, allocations: 7.984 kB / 235.8 MB, free: 5.207 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.2541, allocations: 35.88 kB / 235.8 MB, free: 5.172 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.2542, allocations: 23.97 kB / 235.8 MB, free: 5.148 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.2542, allocations: 4 kB / 235.8 MB, free: 5.145 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002694/0.2545, allocations: 183.1 kB / 236 MB, free: 4.965 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.2545, allocations: 0 / 236 MB, free: 4.965 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006585/0.2552, allocations: 91.94 kB / 236.1 MB, free: 4.875 MB / 202.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.0001765/0.2554, allocations: 111.2 kB / 236.2 MB, free: 4.758 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.2562, allocations: 399.5 kB / 236.6 MB, free: 4.348 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.464e-06/0.2563, allocations: 4 kB / 236.6 MB, free: 4.344 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.2568, allocations: 319.8 kB / 236.9 MB, free: 4.012 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.2573, allocations: 52.47 kB / 237 MB, free: 3.961 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2587, allocations: 0.606 MB / 237.6 MB, free: 3.328 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.2592, allocations: 0.7986 MB / 238.4 MB, free: 2.504 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.2593, allocations: 23.44 kB / 238.4 MB, free: 2.48 MB / 202.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2594, allocations: 0 / 238.4 MB, free: 2.48 MB / 202.7 MB Notification: Performance of Templates: time 0.01123/0.2706, allocations: 6.529 MB / 244.9 MB, free: 11.95 MB / 218.7 MB