Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.991e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08495/0.085, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4654, allocations: 110.1 MB / 427.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4657, allocations: 84.64 kB / 427.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2586/0.7243, allocations: 65.17 MB / 492.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7244, allocations: 0 / 492.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003696/0.7247, allocations: 87.88 kB / 492.4 MB, free: 15.72 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01/0.7348, allocations: 3.249 MB / 495.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.7348, allocations: 16.02 kB / 495.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.7371, allocations: 443.1 kB / 496.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007217/0.7443, allocations: 2.371 MB / 498.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.7447, allocations: 230.2 kB / 498.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.7459, allocations: 311.9 kB / 499 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.7576, allocations: 4.205 MB / 0.4914 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.7578, allocations: 7.922 kB / 0.4914 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005227/0.7583, allocations: 132 kB / 0.4915 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.7586, allocations: 126 kB / 0.4917 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009671/0.7682, allocations: 3.444 MB / 0.495 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.8012, allocations: 13.6 MB / 0.5083 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2366/1.038, allocations: 2.869 MB / 0.5111 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/1.042, allocations: 1.581 MB / 0.5126 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/1.042, allocations: 145 kB / 0.5128 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.042, allocations: 57.16 kB / 0.5128 GB, free: 101.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 5.276e-06/1.042, allocations: 1.062 kB / 0.5128 GB, free: 101.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.0205/1.063, allocations: 7.298 MB / 0.52 GB, free: 100.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.063, allocations: 74.75 kB / 0.52 GB, free: 100.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/1.067, allocations: 2.046 MB / 0.522 GB, free: 100.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003766/1.068, allocations: 58.61 kB / 0.5221 GB, free: 100.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.069, allocations: 1.458 MB / 0.5235 GB, free: 99.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000639/1.069, allocations: 0.6166 MB / 0.5241 GB, free: 99.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/1.07, allocations: 38 kB / 0.5241 GB, free: 99.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/1.07, allocations: 389.8 kB / 0.5245 GB, free: 99.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/1.072, allocations: 1.083 MB / 0.5256 GB, free: 99.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/1.074, allocations: 1.474 MB / 0.527 GB, free: 98.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/1.077, allocations: 1.292 MB / 0.5283 GB, free: 98.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.077, allocations: 3.969 kB / 0.5283 GB, free: 98.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007391/1.084, allocations: 3.465 MB / 0.5317 GB, free: 98.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.084, allocations: 9.656 kB / 0.5317 GB, free: 98.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.084, allocations: 11.88 kB / 0.5317 GB, free: 98.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.087, allocations: 0.8094 MB / 0.5325 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.09, allocations: 458 kB / 0.5329 GB, free: 98.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.101, allocations: 10.83 MB / 0.5435 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/1.104, allocations: 131.6 kB / 0.5436 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/1.104, allocations: 72.17 kB / 0.5437 GB, free: 91.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005/1.105, allocations: 229 kB / 0.5439 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/1.105, allocations: 240.9 kB / 0.5441 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006681/1.112, allocations: 3.277 MB / 0.5473 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.112, allocations: 22.84 kB / 0.5474 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.112, allocations: 7.875 kB / 0.5474 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.112, allocations: 7.688 kB / 0.5474 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.127, allocations: 6.946 MB / 0.5542 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.127, allocations: 3.969 kB / 0.5542 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.129, allocations: 312.6 kB / 0.5545 GB, free: 88.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.132, allocations: 0.9182 MB / 0.5554 GB, free: 88.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.132, allocations: 43.16 kB / 0.5554 GB, free: 88.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/1.146, allocations: 13.46 MB / 0.5685 GB, free: 77.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.27e-06/1.146, allocations: 7.812 kB / 0.5685 GB, free: 77.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009029/1.155, allocations: 4.982 MB / 0.5734 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.157, allocations: 0.5768 MB / 0.574 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/1.157, allocations: 35.22 kB / 0.574 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.159, allocations: 135.6 kB / 0.5741 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.159, allocations: 164.3 kB / 0.5743 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.159, allocations: 55.88 kB / 0.5743 GB, free: 74.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002915/1.162, allocations: 1.569 MB / 0.5759 GB, free: 74.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.93e-07/1.162, allocations: 3.719 kB / 0.5759 GB, free: 74.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003375/1.166, allocations: 0.7445 MB / 0.5766 GB, free: 74.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007566/1.167, allocations: 378.3 kB / 0.577 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00593/1.172, allocations: 3.458 MB / 0.5803 GB, free: 72.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.086e-06/1.173, allocations: 0 / 0.5803 GB, free: 72.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004073/1.177, allocations: 2.438 MB / 0.5827 GB, free: 70.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.181, allocations: 0.6661 MB / 0.5834 GB, free: 70.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.192, allocations: 5.611 MB / 0.5889 GB, free: 68.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/1.195, allocations: 2.577 MB / 0.5914 GB, free: 67.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002682/1.198, allocations: 0.5723 MB / 0.5919 GB, free: 67.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.198, allocations: 156.5 kB / 0.5921 GB, free: 67.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.971e-06/1.198, allocations: 2.625 kB / 0.5921 GB, free: 67.36 MB / 426.7 MB Notification: Performance of Templates: time 0.09262/1.291, allocations: 42.09 MB / 0.6332 GB, free: 35.09 MB / 426.7 MB