Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 2.261/2.261, allocations: 194.9 MB / 211.2 MB, free: 8.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.6e-05, allocations: 0 / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01669/0.3556, allocations: 6.24 MB / 309.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.3643, allocations: 2.302 MB / 311.8 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.3661, allocations: 35.94 kB / 311.9 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.3691, allocations: 389.7 kB / 312.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.3723, allocations: 430.6 kB / 312.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3734, allocations: 155.7 kB / 312.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.3766, allocations: 0.7843 MB / 313.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.3778, allocations: 304.3 kB / 313.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.3788, allocations: 358.9 kB / 314.3 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3798, allocations: 410.4 kB / 314.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.3804, allocations: 79.97 kB / 314.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.3807, allocations: 44 kB / 314.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.381, allocations: 163.2 kB / 314.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004756/0.3815, allocations: 108 kB / 315.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.3844, allocations: 1.285 MB / 316.3 MB, free: 0.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3845, allocations: 0 / 316.3 MB, free: 0.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.3845, allocations: 0 / 316.3 MB, free: 0.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.3845, allocations: 0 / 316.3 MB, free: 0.582 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003646/0.3882, allocations: 1.123 MB / 317.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.3883, allocations: 8.031 kB / 317.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.3892, allocations: 162.3 kB / 317.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.3914, allocations: 0.6912 MB / 318.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3915, allocations: 66 kB / 318.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.3918, allocations: 104 kB / 318.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.3953, allocations: 0.9112 MB / 319.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.3954, allocations: 8 kB / 319.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.3957, allocations: 36 kB / 319.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.3957, allocations: 24 kB / 319.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.3987, allocations: 0.6324 MB / 320.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.4095, allocations: 3.886 MB / 324 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4109, allocations: 359.5 kB / 324.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.4109, allocations: 4 kB / 324.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.411, allocations: 46.52 kB / 324.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 4.018e-06/0.411, allocations: 0 / 324.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.004896/0.4159, allocations: 1.211 MB / 325.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.4161, allocations: 81.11 kB / 325.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.418, allocations: 0.6683 MB / 326.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.4181, allocations: 33.7 kB / 326.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/0.4189, allocations: 0.582 MB / 327 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.4191, allocations: 134.2 kB / 327.1 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.4192, allocations: 16 kB / 327.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4194, allocations: 334.8 kB / 327.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.4202, allocations: 153.9 kB / 327.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4213, allocations: 456 kB / 328 MB, free: 4.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4223, allocations: 227.6 kB / 328.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.4224, allocations: 7.953 kB / 328.3 MB, free: 4 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002512/0.4249, allocations: 0.6461 MB / 328.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.425, allocations: 12 kB / 328.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.425, allocations: 8 kB / 328.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.4253, allocations: 32.86 kB / 328.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.4267, allocations: 167.9 kB / 329.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.4287, allocations: 1.296 MB / 330.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.43, allocations: 35.89 kB / 330.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4302, allocations: 36 kB / 330.5 MB, free: 1.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008828/0.4311, allocations: 253.5 kB / 330.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.4315, allocations: 87.16 kB / 330.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4334, allocations: 394.5 kB / 331.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4335, allocations: 8 kB / 331.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4335, allocations: 0 / 331.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4335, allocations: 0 / 331.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.4376, allocations: 1.245 MB / 332.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.4377, allocations: 8.203 kB / 332.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.4386, allocations: 71.91 kB / 332.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.4388, allocations: 28.78 kB / 332.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.4388, allocations: 8 kB / 332.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.4405, allocations: 1.28 MB / 333.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4406, allocations: 0 / 333.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4431, allocations: 0.7365 MB / 334.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.4437, allocations: 176.1 kB / 334.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.444, allocations: 12 kB / 334.8 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.4448, allocations: 35.97 kB / 334.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.445, allocations: 27.92 kB / 334.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.4451, allocations: 12 kB / 334.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001611/0.4467, allocations: 0.5107 MB / 335.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4467, allocations: 0 / 335.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001593/0.4483, allocations: 184 kB / 335.5 MB, free: 12.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.4487, allocations: 119.2 kB / 335.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.4505, allocations: 0.5163 MB / 336.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4505, allocations: 4.062 kB / 336.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.4513, allocations: 270.4 kB / 336.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.453, allocations: 187.8 kB / 336.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.4581, allocations: 2.115 MB / 338.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.459, allocations: 1.016 MB / 339.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.4593, allocations: 55.44 kB / 339.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4593, allocations: 4 kB / 339.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of Templates: time 0.03387/0.4932, allocations: 14.84 MB / 354.6 MB, free: 9.023 MB / 298.7 MB