Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.439e-05/4.433e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002931/0.3159, allocations: 1.725 MB / 305 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3178, allocations: 0.8127 MB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.318, allocations: 5.656 kB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.3183, allocations: 75.11 kB / 305.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.3186, allocations: 95.73 kB / 306 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3189, allocations: 74.61 kB / 306.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.3192, allocations: 145.3 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3194, allocations: 59.78 kB / 306.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3196, allocations: 77.38 kB / 306.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.3198, allocations: 91.67 kB / 306.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.32, allocations: 31.98 kB / 306.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.32, allocations: 8 kB / 306.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3201, allocations: 43.83 kB / 306.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.3202, allocations: 24 kB / 306.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3205, allocations: 201.9 kB / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3205, allocations: 0 / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3206, allocations: 3.938 kB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3206, allocations: 7.938 kB / 306.8 MB, free: 10.14 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009154/0.3215, allocations: 0.529 MB / 307.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3216, allocations: 12.03 kB / 307.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3217, allocations: 23.72 kB / 307.3 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3221, allocations: 251.5 kB / 307.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3222, allocations: 12 kB / 307.6 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.3222, allocations: 16 kB / 307.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3227, allocations: 165.3 kB / 307.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3227, allocations: 0 / 307.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.3228, allocations: 12 kB / 307.8 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3228, allocations: 4 kB / 307.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.3232, allocations: 115.9 kB / 307.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3244, allocations: 0.5741 MB / 308.5 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.3248, allocations: 166.4 kB / 308.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.3249, allocations: 4 kB / 308.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.3252, allocations: 115.6 kB / 308.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/0.3252, allocations: 0 / 308.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007283/0.326, allocations: 241.2 kB / 309 MB, free: 7.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.326, allocations: 55.41 kB / 309 MB, free: 7.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.3264, allocations: 223.3 kB / 309.3 MB, free: 7.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3264, allocations: 33.7 kB / 309.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3265, allocations: 132.3 kB / 309.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.3266, allocations: 78.98 kB / 309.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.3266, allocations: 4 kB / 309.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3268, allocations: 326.8 kB / 309.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.327, allocations: 64.2 kB / 309.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3272, allocations: 95.86 kB / 310 MB, free: 6.684 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3275, allocations: 102.8 kB / 310.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3275, allocations: 4 kB / 310.1 MB, free: 6.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006235/0.3282, allocations: 256.7 kB / 310.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.3282, allocations: 41.64 kB / 310.4 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3283, allocations: 4 kB / 310.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3283, allocations: 0 / 310.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.3287, allocations: 51.91 kB / 310.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3287, allocations: 4 kB / 310.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3289, allocations: 23.69 kB / 310.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3289, allocations: 12 kB / 310.5 MB, free: 6.172 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.3291, allocations: 151.3 kB / 310.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.3292, allocations: 19.72 kB / 310.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.3293, allocations: 41.8 kB / 310.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3293, allocations: 3.938 kB / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3293, allocations: 0 / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3293, allocations: 4 kB / 310.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.3297, allocations: 281.4 kB / 311 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3297, allocations: 0 / 311 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.3301, allocations: 35.98 kB / 311 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3301, allocations: 4 kB / 311 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3301, allocations: 11.98 kB / 311 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3301, allocations: 7.938 kB / 311 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3301, allocations: 3.938 kB / 311 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/0.3309, allocations: 279.5 kB / 311.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.331, allocations: 112.8 kB / 311.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3311, allocations: 8 kB / 311.4 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3312, allocations: 8.062 kB / 311.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3313, allocations: 23.92 kB / 311.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3313, allocations: 4 kB / 311.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3316, allocations: 181.6 kB / 311.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3316, allocations: 0 / 311.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.332, allocations: 63.84 kB / 311.7 MB, free: 4.859 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009724/0.333, allocations: 361.2 kB / 312 MB, free: 4.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.3335, allocations: 231.3 kB / 312.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3336, allocations: 0 / 312.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3338, allocations: 80.09 kB / 312.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3342, allocations: 40.3 kB / 312.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3356, allocations: 0.6274 MB / 313 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.336, allocations: 0.7557 MB / 313.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.3362, allocations: 25.53 kB / 313.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.3363, allocations: 19.44 kB / 313.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3363, allocations: 4 kB / 313.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of Templates: time 0.008975/0.3453, allocations: 2.463 MB / 316.3 MB, free: 232 kB / 250.7 MB