Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.264e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 50.43 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5293, allocations: 105.7 MB / 448.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5296, allocations: 78.39 kB / 448.3 MB, free: 4.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2582/0.7879, allocations: 53.49 MB / 0.49 GB, free: 3.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.462e-06/0.7879, allocations: 0 / 0.49 GB, free: 3.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.7882, allocations: 63.94 kB / 0.4901 GB, free: 3.434 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.008488/0.7967, allocations: 2.722 MB / 0.4927 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7968, allocations: 8.875 kB / 0.4928 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.7987, allocations: 359.9 kB / 0.4931 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.8046, allocations: 1.89 MB / 0.4949 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.8049, allocations: 189.1 kB / 0.4951 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009508/0.8059, allocations: 252.3 kB / 0.4954 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00952/0.8154, allocations: 3.385 MB / 0.4987 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.8156, allocations: 15.83 kB / 0.4987 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.816, allocations: 112 kB / 0.4988 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.8162, allocations: 108.9 kB / 0.4989 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007903/0.8241, allocations: 2.805 MB / 0.5016 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/0.8507, allocations: 10.92 MB / 0.5123 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/0.856, allocations: 3.055 MB / 0.5153 GB, free: 8.855 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/0.8588, allocations: 1.249 MB / 0.5165 GB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.8593, allocations: 142.4 kB / 0.5166 GB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.8618, allocations: 1.111 MB / 0.5177 GB, free: 6.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 5.794e-06/0.8618, allocations: 0 / 0.5177 GB, free: 6.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.2665/1.128, allocations: 6.716 MB / 0.5243 GB, free: 111.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/1.129, allocations: 181.7 kB / 0.5245 GB, free: 111.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/1.132, allocations: 1.594 MB / 0.526 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/1.133, allocations: 63.52 kB / 0.5261 GB, free: 111.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.134, allocations: 1.096 MB / 0.5271 GB, free: 111 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/1.134, allocations: 0.5704 MB / 0.5277 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.134, allocations: 35.91 kB / 0.5277 GB, free: 110.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.135, allocations: 380.6 kB / 0.5281 GB, free: 110.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.137, allocations: 0.9487 MB / 0.529 GB, free: 110.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/1.139, allocations: 1.31 MB / 0.5303 GB, free: 110.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.141, allocations: 1.107 MB / 0.5314 GB, free: 110.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.141, allocations: 6.469 kB / 0.5314 GB, free: 110.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006679/1.148, allocations: 3.034 MB / 0.5344 GB, free: 109.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.148, allocations: 8.562 kB / 0.5344 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.148, allocations: 11.73 kB / 0.5344 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/1.151, allocations: 0.8698 MB / 0.5352 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.153, allocations: 337.8 kB / 0.5355 GB, free: 109.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.166, allocations: 9.539 MB / 0.5449 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.168, allocations: 139.1 kB / 0.545 GB, free: 105.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/1.168, allocations: 68.25 kB / 0.5451 GB, free: 105.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000454/1.169, allocations: 225.6 kB / 0.5453 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/1.169, allocations: 205.7 kB / 0.5455 GB, free: 105.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/1.176, allocations: 3.045 MB / 0.5484 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.176, allocations: 20.77 kB / 0.5485 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.176, allocations: 17.3 kB / 0.5485 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.176, allocations: 7.688 kB / 0.5485 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.189, allocations: 6.175 MB / 0.5545 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.189, allocations: 7.859 kB / 0.5545 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.19, allocations: 229.5 kB / 0.5547 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/1.193, allocations: 0.9196 MB / 0.5556 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/1.194, allocations: 42.83 kB / 0.5557 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.208, allocations: 11.01 MB / 0.5664 GB, free: 95.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.183e-06/1.208, allocations: 3.812 kB / 0.5664 GB, free: 95.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/1.216, allocations: 4.576 MB / 0.5709 GB, free: 93.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.218, allocations: 0.5029 MB / 0.5714 GB, free: 93.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/1.218, allocations: 39.11 kB / 0.5714 GB, free: 93.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.22, allocations: 123.6 kB / 0.5716 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/1.22, allocations: 197.4 kB / 0.5717 GB, free: 93.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.221, allocations: 46.23 kB / 0.5718 GB, free: 93.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002395/1.223, allocations: 1.221 MB / 0.573 GB, free: 92.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.015e-06/1.223, allocations: 0 / 0.573 GB, free: 92.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003039/1.226, allocations: 0.6547 MB / 0.5736 GB, free: 92.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000618/1.227, allocations: 340.5 kB / 0.5739 GB, free: 92.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005382/1.232, allocations: 3.074 MB / 0.5769 GB, free: 91.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.866e-06/1.232, allocations: 5.625 kB / 0.5769 GB, free: 91.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/1.236, allocations: 2.122 MB / 0.579 GB, free: 90.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.239, allocations: 0.5341 MB / 0.5795 GB, free: 90.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009722/1.249, allocations: 4.707 MB / 0.5841 GB, free: 88.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.251, allocations: 2.2 MB / 0.5863 GB, free: 87.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/1.252, allocations: 132.8 kB / 0.5864 GB, free: 87.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.951e-06/1.252, allocations: 2.844 kB / 0.5864 GB, free: 87.08 MB / 442.7 MB Notification: Performance of Templates: time 0.107/1.359, allocations: 97.77 MB / 0.6819 GB, free: 3.711 MB / 442.7 MB