Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|currentQuasiRMSSensor.i.1.|currentQuasiRMSSensor.i.2.|currentQuasiRMSSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.|multiSensor.i.1.|multiSensor.i.2.|multiSensor.i.3.|multiSensor.v.1.|multiSensor.v.2.|multiSensor.v.3.|multiSensor.power.1.|multiSensor.power.2.|multiSensor.power.3.|multiSensor.powerTotal|rootMeanSquare.y|rootMeanSquare.mean.x|harmonic.mean1.x|harmonic.mean2.x|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|loadInertia.phi|loadInertia.w|softStartControl.vRef",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.328e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5389, allocations: 139.4 MB / 482.5 MB, free: 3.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5392, allocations: 91.31 kB / 482.6 MB, free: 3.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.618/1.157, allocations: 114.6 MB / 0.5832 GB, free: 94.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.799e-06/1.157, allocations: 0 / 0.5832 GB, free: 94.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003647/1.158, allocations: 138.9 kB / 0.5834 GB, free: 94.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01338/1.171, allocations: 5.422 MB / 0.5886 GB, free: 91.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.171, allocations: 12.97 kB / 0.5887 GB, free: 91.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/1.176, allocations: 1.006 MB / 0.5896 GB, free: 91.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.188, allocations: 4.559 MB / 0.5941 GB, free: 89.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/1.189, allocations: 465.3 kB / 0.5945 GB, free: 89.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.19, allocations: 473 kB / 0.595 GB, free: 88.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/1.201, allocations: 5.959 MB / 0.6008 GB, free: 86.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/1.202, allocations: 7.156 kB / 0.6008 GB, free: 86.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006136/1.202, allocations: 191.8 kB / 0.601 GB, free: 85.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/1.202, allocations: 196.6 kB / 0.6012 GB, free: 85.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/1.213, allocations: 4.788 MB / 0.6059 GB, free: 83.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/1.249, allocations: 19.84 MB / 0.6252 GB, free: 65.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/1.257, allocations: 6.056 MB / 0.6312 GB, free: 58.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.26, allocations: 2.066 MB / 0.6332 GB, free: 56.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/1.271, allocations: 5.697 MB / 0.6387 GB, free: 50.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/1.274, allocations: 1.669 MB / 0.6404 GB, free: 49.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 6.013e-06/1.274, allocations: 0 / 0.6404 GB, free: 49.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=263): time 0.01351/1.287, allocations: 7.294 MB / 0.6475 GB, free: 41.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.287, allocations: 456.4 kB / 0.6479 GB, free: 41.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006064/1.294, allocations: 3.53 MB / 0.6514 GB, free: 37.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/1.294, allocations: 93.69 kB / 0.6515 GB, free: 37.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/1.296, allocations: 2.175 MB / 0.6536 GB, free: 35.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007086/1.296, allocations: 0.8351 MB / 0.6544 GB, free: 34.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.297, allocations: 64 kB / 0.6545 GB, free: 34.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/1.297, allocations: 424.4 kB / 0.6549 GB, free: 33.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.299, allocations: 1.263 MB / 0.6561 GB, free: 32.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/1.302, allocations: 2.12 MB / 0.6582 GB, free: 30.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/1.305, allocations: 1.55 MB / 0.6597 GB, free: 28.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.305, allocations: 8 kB / 0.6597 GB, free: 28.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007525/1.312, allocations: 4.088 MB / 0.6637 GB, free: 24.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001733/1.314, allocations: 9.671 MB / 0.6731 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.872e-05/1.314, allocations: 27.98 kB / 0.6732 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.316, allocations: 0.5749 MB / 0.6737 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.319, allocations: 0.6396 MB / 0.6743 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009698/1.329, allocations: 10.11 MB / 0.6842 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/1.332, allocations: 243.7 kB / 0.6845 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/1.332, allocations: 124 kB / 0.6846 GB, free: 1.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.332, allocations: 4 kB / 0.6846 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2646/1.597, allocations: 3.754 MB / 0.6882 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.731e-05/1.597, allocations: 24.05 kB / 0.6883 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/1.599, allocations: 0.5733 MB / 0.6888 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/1.602, allocations: 0.6243 MB / 0.6894 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/1.614, allocations: 10.12 MB / 0.6993 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.617, allocations: 224.4 kB / 0.6995 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.618, allocations: 126.5 kB / 0.6997 GB, free: 77.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition2,$whenCondition3,$PRE.triac.triac[1].thyristor1.off,triac.triac[1].thyristor1.off,$PRE.triac.triac[1].thyristor2.off,triac.triac[1].thyristor2.off,$PRE.triac.triac[2].thyristor1.off,triac.triac[2].thyristor1.off,$PRE.triac.triac[2].thyristor2.off,triac.triac[2].thyristor2.off,$PRE.triac.triac[3].thyristor1.off,triac.triac[3].thyristor1.off,$PRE.triac.triac[3].thyristor2.off,triac.triac[3].thyristor2.off,adaptor.positiveThreshold[1].y,adaptor.positiveThreshold[2].y,adaptor.positiveThreshold[3].y,adaptor.negativeThreshold[1].y,adaptor.negativeThreshold[2].y,adaptor.negativeThreshold[3].y,$PRE.adaptor.timerPositive[1].entryTime,adaptor.timerPositive[1].entryTime,$PRE.adaptor.timerPositive[2].entryTime,adaptor.timerPositive[2].entryTime,$PRE.adaptor.timerPositive[3].entryTime,adaptor.timerPositive[3].entryTime,$PRE.adaptor.timerNegative[1].entryTime,adaptor.timerNegative[1].entryTime,$PRE.adaptor.timerNegative[2].entryTime,adaptor.timerNegative[2].entryTime,$PRE.adaptor.timerNegative[3].entryTime,adaptor.timerNegative[3].entryTime,adaptor.fire_p[1],adaptor.fire_p[2],adaptor.fire_p[3],adaptor.fire_n[1],adaptor.fire_n[2],adaptor.fire_n[3],softStartControl.start,$PRE.softStartControl.modeOfOperation,softStartControl.modeOfOperation,$PRE.softStartControl.limit,softStartControl.limit,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (360): * Single equations (assignments): 352 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007782/1.618, allocations: 348.4 kB / 0.7 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/1.619, allocations: 393 kB / 0.7004 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009208/1.628, allocations: 3.935 MB / 0.7042 GB, free: 76.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/1.628, allocations: 28.55 kB / 0.7042 GB, free: 76.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.628, allocations: 11.75 kB / 0.7042 GB, free: 76.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.628, allocations: 12.47 kB / 0.7043 GB, free: 76.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.647, allocations: 8.836 MB / 0.7129 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.647, allocations: 3.906 kB / 0.7129 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.649, allocations: 338.9 kB / 0.7132 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.652, allocations: 0.8512 MB / 0.714 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/1.652, allocations: 65.06 kB / 0.7141 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/1.669, allocations: 17.04 MB / 0.7307 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.669, allocations: 2.438 kB / 0.7307 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.68, allocations: 5.846 MB / 0.7365 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.682, allocations: 0.932 MB / 0.7374 GB, free: 62.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006404/1.683, allocations: 77.7 kB / 0.7374 GB, free: 62.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.685, allocations: 194.9 kB / 0.7376 GB, free: 62.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008221/1.685, allocations: 354.3 kB / 0.738 GB, free: 62.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/1.686, allocations: 76.16 kB / 0.738 GB, free: 62.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004508/1.69, allocations: 2.713 MB / 0.7407 GB, free: 61.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.63e-07/1.69, allocations: 0 / 0.7407 GB, free: 61.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006213/1.696, allocations: 1.776 MB / 0.7424 GB, free: 60.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 13 (rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,softStartControl.vRef,filter.x[1],filter.x[2]) * Number of discrete variables: 49 (adaptor.negativeThreshold[1].y,adaptor.positiveThreshold[1].y,adaptor.negativeThreshold[2].y,adaptor.positiveThreshold[2].y,adaptor.negativeThreshold[3].y,adaptor.positiveThreshold[3].y,softStartControl.start,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition1,triac.triac[1].thyristor1.off,triac.triac[1].thyristor2.off,triac.triac[2].thyristor1.off,triac.triac[2].thyristor2.off,triac.triac[3].thyristor1.off,triac.triac[3].thyristor2.off,adaptor.timerPositive[1].entryTime,adaptor.timerPositive[2].entryTime,adaptor.timerPositive[3].entryTime,adaptor.timerNegative[1].entryTime,adaptor.timerNegative[2].entryTime,adaptor.timerNegative[3].entryTime,adaptor.fire_p[1],adaptor.fire_p[2],adaptor.fire_p[3],adaptor.fire_n[1],adaptor.fire_n[2],adaptor.fire_n[3],rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last,softStartControl.modeOfOperation,softStartControl.limit,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 11 (booleanTable.combiTimeTable.nextTimeEvent,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x,booleanTable.combiTimeTable.nextTimeEventScaled,triac.triac[3].thyristor2.off,triac.triac[3].thyristor1.off,triac.triac[2].thyristor2.off,triac.triac[2].thyristor1.off,triac.triac[1].thyristor2.off,triac.triac[1].thyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003063/1.699, allocations: 1.086 MB / 0.7435 GB, free: 60.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.71, allocations: 6.541 MB / 0.7499 GB, free: 57.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.737e-06/1.71, allocations: 3.125 kB / 0.7499 GB, free: 57.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00454/1.714, allocations: 2.897 MB / 0.7527 GB, free: 55.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.718, allocations: 0.8065 MB / 0.7535 GB, free: 55.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.734, allocations: 8.485 MB / 0.7618 GB, free: 52.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/1.738, allocations: 3.593 MB / 0.7653 GB, free: 51.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006284/1.744, allocations: 1.68 MB / 0.7669 GB, free: 51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/1.745, allocations: 170.9 kB / 0.7671 GB, free: 50.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.668e-06/1.745, allocations: 3.828 kB / 0.7671 GB, free: 50.98 MB / 442.7 MB Notification: Performance of Templates: time 0.1361/1.881, allocations: 64.04 MB / 0.8296 GB, free: 3.531 MB / 442.7 MB