Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.122e-05, allocations: 7.906 kB / 258.8 MB, free: 7.836 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3355, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01151/0.3471, allocations: 6.436 MB / 309.8 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00593/0.3531, allocations: 2.395 MB / 312.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.3544, allocations: 31.94 kB / 312.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.356, allocations: 393.7 kB / 312.6 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.3582, allocations: 462.5 kB / 313 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.3591, allocations: 155.8 kB / 313.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.3617, allocations: 0.827 MB / 314 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.3626, allocations: 304.2 kB / 314.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.3634, allocations: 382.9 kB / 314.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007676/0.3642, allocations: 430.4 kB / 315.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.3647, allocations: 87.91 kB / 315.2 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.3649, allocations: 52 kB / 315.2 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.3651, allocations: 163.2 kB / 315.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.3655, allocations: 112 kB / 315.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.3678, allocations: 1.332 MB / 316.8 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3679, allocations: 0 / 316.8 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3679, allocations: 0 / 316.8 MB, free: 12 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.555e-05/0.3679, allocations: 0 / 316.8 MB, free: 12 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003553/0.3715, allocations: 1.15 MB / 318 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3716, allocations: 8.031 kB / 318 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.3726, allocations: 182.3 kB / 318.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3746, allocations: 0.7115 MB / 318.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.3748, allocations: 70 kB / 318.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.375, allocations: 111.8 kB / 319.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.3779, allocations: 0.9307 MB / 320 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.378, allocations: 7.938 kB / 320 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.3781, allocations: 40 kB / 320 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.3782, allocations: 24 kB / 320.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.3804, allocations: 0.6559 MB / 320.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/0.3888, allocations: 3.926 MB / 324.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3899, allocations: 444.5 kB / 325.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.39, allocations: 7.984 kB / 325.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3901, allocations: 38.56 kB / 325.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.825e-06/0.3901, allocations: 7.938 kB / 325.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004432/0.3945, allocations: 1.439 MB / 326.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3946, allocations: 81.11 kB / 326.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.396, allocations: 0.6879 MB / 327.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.3961, allocations: 33.7 kB / 327.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/0.3967, allocations: 0.5682 MB / 327.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.3969, allocations: 161.7 kB / 328.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.397, allocations: 16 kB / 328.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3971, allocations: 330 kB / 328.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.3978, allocations: 173.9 kB / 328.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.3986, allocations: 471.6 kB / 329.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.3994, allocations: 255.6 kB / 329.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.3994, allocations: 4 kB / 329.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002244/0.4017, allocations: 0.7791 MB / 330.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.4017, allocations: 8.781 kB / 330.1 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.4018, allocations: 12 kB / 330.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.4021, allocations: 69.69 kB / 330.2 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4031, allocations: 163.9 kB / 330.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.4063, allocations: 2.802 MB / 333.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/0.4073, allocations: 51.91 kB / 333.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.4074, allocations: 39.98 kB / 333.2 MB, free: 14.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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.0005865/0.408, allocations: 253.9 kB / 333.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.4082, allocations: 86.97 kB / 333.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.4098, allocations: 499.4 kB / 334 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4098, allocations: 12 kB / 334.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4098, allocations: 0 / 334.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4099, allocations: 0 / 334.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.4132, allocations: 1.423 MB / 335.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4132, allocations: 0 / 335.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.4139, allocations: 75.91 kB / 335.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.4142, allocations: 61.8 kB / 335.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.4142, allocations: 12 kB / 335.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.417, allocations: 2.79 MB / 338.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.417, allocations: 3.938 kB / 338.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.4193, allocations: 0.8866 MB / 339.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.4198, allocations: 192.1 kB / 339.5 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.42, allocations: 12 kB / 339.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.4208, allocations: 32.11 kB / 339.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.4209, allocations: 39.84 kB / 339.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.421, allocations: 23.98 kB / 339.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.4221, allocations: 0.5225 MB / 340.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4221, allocations: 0 / 340.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001247/0.4233, allocations: 211.9 kB / 340.3 MB, free: 7.082 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.0002894/0.4236, allocations: 126.9 kB / 340.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.4256, allocations: 0.7057 MB / 341.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.4256, allocations: 3.938 kB / 341.2 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4267, allocations: 441.6 kB / 341.6 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4284, allocations: 206.2 kB / 341.8 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.433, allocations: 2.118 MB / 343.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/0.4338, allocations: 1.028 MB / 344.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007823/0.4346, allocations: 111.2 kB / 345.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4348, allocations: 55.44 kB / 345.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4348, allocations: 0 / 345.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of Templates: time 0.03089/0.4657, allocations: 9.131 MB / 354.2 MB, free: 9.07 MB / 298.7 MB "" Variables in the reference:time,dcse.la.i,loadInertia.phi,loadInertia.w Variables in the result:JLoad,TLoad,Va,constantVoltage.V,constantVoltage.freqHz,constantVoltage.offset,constantVoltage.phase,constantVoltage.signalSource.amplitude,constantVoltage.signalSource.freqHz,constantVoltage.signalSource.offset,constantVoltage.signalSource.phase,constantVoltage.signalSource.startTime,constantVoltage.startTime,dcse.IaNominal,dcse.Jr,dcse.Js,dcse.La,dcse.Le,dcse.Lesigma,dcse.Lme,dcse.Ra,dcse.Re,dcse.TaNominal,dcse.TaOperational,dcse.TaRef,dcse.TeNominal,dcse.TeOperational,dcse.TeRef,dcse.VaNominal,dcse.ViNominal,dcse.airGapDC.Le,dcse.airGapDC.quasiStationary,dcse.airGapDC.support.phi,dcse.airGapDC.turnsRatio,dcse.alpha20a,dcse.alpha20e,dcse.brush.brushParameters.ILinear,dcse.brush.brushParameters.V,dcse.brushParameters.ILinear,dcse.brushParameters.V,dcse.compoundDCExcitation.excitationTurnsRatio,dcse.core.coreParameters.GcRef,dcse.core.coreParameters.PRef,dcse.core.coreParameters.VRef,dcse.core.coreParameters.m,dcse.core.coreParameters.ratioHysteresis,dcse.core.coreParameters.wMin,dcse.core.coreParameters.wRef,dcse.coreParameters.GcRef,dcse.coreParameters.PRef,dcse.coreParameters.VRef,dcse.coreParameters.m,dcse.coreParameters.ratioHysteresis,dcse.coreParameters.wMin,dcse.coreParameters.wRef,dcse.fixed.flange.phi,dcse.fixed.phi0,dcse.friction.frictionParameters.PRef,dcse.friction.frictionParameters.linear,dcse.friction.frictionParameters.power_w,dcse.friction.frictionParameters.tauLinear,dcse.friction.frictionParameters.tauRef,dcse.friction.frictionParameters.wLinear,dcse.friction.frictionParameters.wRef,dcse.friction.support.phi,dcse.frictionParameters.PRef,dcse.frictionParameters.linear,dcse.frictionParameters.power_w,dcse.frictionParameters.tauLinear,dcse.frictionParameters.tauRef,dcse.frictionParameters.wLinear,dcse.frictionParameters.wRef,dcse.inertiaRotor.J,dcse.inertiaRotor.w,dcse.inertiaStator.J,dcse.inertiaStator.flange_a.phi,dcse.inertiaStator.flange_b.phi,dcse.inertiaStator.phi,dcse.internalSupport.phi,dcse.internalThermalPort.heatPortArmature.T,dcse.internalThermalPort.heatPortSeriesExcitation.T,dcse.la.L,dcse.la.i,dcse.la.quasiStationary,dcse.lesigma.L,dcse.lesigma.quasiStationary,dcse.psi_eNominal,dcse.ra.R,dcse.ra.T,dcse.ra.T_heatPort,dcse.ra.T_ref,dcse.ra.alpha,dcse.ra.heatPort.T,dcse.re.R,dcse.re.T,dcse.re.T_heatPort,dcse.re.T_ref,dcse.re.alpha,dcse.re.heatPort.T,dcse.sigmae,dcse.strayLoad.strayLoadParameters.IRef,dcse.strayLoad.strayLoadParameters.PRef,dcse.strayLoad.strayLoadParameters.power_w,dcse.strayLoad.strayLoadParameters.tauRef,dcse.strayLoad.strayLoadParameters.wRef,dcse.strayLoad.support.phi,dcse.strayLoadParameters.IRef,dcse.strayLoadParameters.PRef,dcse.strayLoadParameters.power_w,dcse.strayLoadParameters.tauRef,dcse.strayLoadParameters.wRef,dcse.thermalAmbient.Ta,dcse.thermalAmbient.Tse,dcse.thermalAmbient.constTa.k,dcse.thermalAmbient.constTa.y,dcse.thermalAmbient.constTse.k,dcse.thermalAmbient.constTse.y,dcse.thermalAmbient.temperatureArmature.T,dcse.thermalAmbient.temperatureArmature.port.T,dcse.thermalAmbient.temperatureBrush.T,dcse.thermalAmbient.temperatureCore.T,dcse.thermalAmbient.temperatureFriction.T,dcse.thermalAmbient.temperatureSeriesExcitation.T,dcse.thermalAmbient.temperatureSeriesExcitation.port.T,dcse.thermalAmbient.temperatureStrayLoad.T,dcse.thermalAmbient.thermalPort.heatPortArmature.T,dcse.thermalAmbient.thermalPort.heatPortSeriesExcitation.T,dcse.thermalAmbient.useTemperatureInputs,dcse.turnsRatio,dcse.useSupport,dcse.useThermalPort,dcse.wNominal,dcseData.IaNominal,dcseData.Jr,dcseData.Js,dcseData.La,dcseData.Le,dcseData.Ra,dcseData.Re,dcseData.TaNominal,dcseData.TaRef,dcseData.TeNominal,dcseData.TeRef,dcseData.VaNominal,dcseData.ViNominal,dcseData.alpha20a,dcseData.alpha20e,dcseData.brushParameters.ILinear,dcseData.brushParameters.V,dcseData.coreParameters.GcRef,dcseData.coreParameters.PRef,dcseData.coreParameters.VRef,dcseData.coreParameters.m,dcseData.coreParameters.ratioHysteresis,dcseData.coreParameters.wMin,dcseData.coreParameters.wRef,dcseData.frictionParameters.PRef,dcseData.frictionParameters.linear,dcseData.frictionParameters.power_w,dcseData.frictionParameters.tauLinear,dcseData.frictionParameters.tauRef,dcseData.frictionParameters.wLinear,dcseData.frictionParameters.wRef,dcseData.sigmae,dcseData.strayLoadParameters.IRef,dcseData.strayLoadParameters.PRef,dcseData.strayLoadParameters.power_w,dcseData.strayLoadParameters.tauRef,dcseData.strayLoadParameters.wRef,dcseData.wNominal,loadInertia.J,loadInertia.phi,loadInertia.w,quadraticLoadTorque.TorqueDirection,quadraticLoadTorque.phi,quadraticLoadTorque.tau_nominal,quadraticLoadTorque.w_nominal,ramp.duration,ramp.height,ramp.offset,ramp.startTime,tRamp,tStart,time,variableResistor.T,variableResistor.T_heatPort,variableResistor.T_ref,variableResistor.alpha,wLoad