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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter") Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.819e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.08907, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5185, allocations: 139.4 MB / 482 MB, free: 3.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5188, allocations: 91.11 kB / 482 MB, free: 3.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6203/1.139, allocations: 114.6 MB / 0.5827 GB, free: 94.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.203e-06/1.139, allocations: 0 / 0.5827 GB, free: 94.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004219/1.14, allocations: 144.7 kB / 0.5828 GB, free: 94.6 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.0141/1.154, allocations: 5.419 MB / 0.5881 GB, free: 91.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.154, allocations: 11.09 kB / 0.5881 GB, free: 91.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006189/1.16, allocations: 1.002 MB / 0.5891 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.173, allocations: 4.568 MB / 0.5936 GB, free: 89.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/1.174, allocations: 464.3 kB / 0.594 GB, free: 88.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009222/1.175, allocations: 474.7 kB / 0.5945 GB, free: 88.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/1.187, allocations: 5.961 MB / 0.6003 GB, free: 85.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/1.187, allocations: 2.578 kB / 0.6003 GB, free: 85.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006217/1.187, allocations: 198.3 kB / 0.6005 GB, free: 85.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/1.188, allocations: 190.9 kB / 0.6007 GB, free: 85.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/1.198, allocations: 4.787 MB / 0.6054 GB, free: 83.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03323/1.231, allocations: 19.84 MB / 0.6247 GB, free: 65.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007828/1.239, allocations: 6.059 MB / 0.6306 GB, free: 58.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/1.243, allocations: 2.074 MB / 0.6327 GB, free: 56.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/1.254, allocations: 5.704 MB / 0.6382 GB, free: 50.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002802/1.256, allocations: 1.673 MB / 0.6399 GB, free: 49.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 6.085e-06/1.257, allocations: 0 / 0.6399 GB, free: 49.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=263): time 0.01384/1.27, allocations: 7.289 MB / 0.647 GB, free: 41.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.271, allocations: 453.3 kB / 0.6474 GB, free: 41.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00627/1.277, allocations: 3.53 MB / 0.6509 GB, free: 37.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003847/1.277, allocations: 93.69 kB / 0.651 GB, free: 37.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.279, allocations: 2.174 MB / 0.6531 GB, free: 35.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/1.28, allocations: 0.839 MB / 0.6539 GB, free: 34.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.28, allocations: 67.94 kB / 0.654 GB, free: 34.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/1.28, allocations: 428.4 kB / 0.6544 GB, free: 33.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.283, allocations: 1.256 MB / 0.6556 GB, free: 32.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/1.285, allocations: 2.124 MB / 0.6577 GB, free: 30.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/1.288, allocations: 1.55 MB / 0.6592 GB, free: 28.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.288, allocations: 11.94 kB / 0.6592 GB, free: 28.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00749/1.296, allocations: 4.08 MB / 0.6632 GB, free: 24.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001718/1.297, allocations: 9.671 MB / 0.6726 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/1.298, allocations: 24 kB / 0.6727 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.299, allocations: 0.5671 MB / 0.6732 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/1.302, allocations: 0.6357 MB / 0.6738 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009616/1.312, allocations: 10.11 MB / 0.6837 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.315, allocations: 247.7 kB / 0.6839 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/1.315, allocations: 123.8 kB / 0.6841 GB, free: 1.777 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.315, allocations: 4 kB / 0.6841 GB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2663/1.582, allocations: 3.754 MB / 0.6877 GB, free: 83.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.411e-05/1.582, allocations: 24.17 kB / 0.6878 GB, free: 83.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/1.584, allocations: 0.575 MB / 0.6883 GB, free: 83.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003366/1.587, allocations: 0.6218 MB / 0.6889 GB, free: 83.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.598, allocations: 10.12 MB / 0.6988 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.602, allocations: 225.5 kB / 0.699 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/1.602, allocations: 126.8 kB / 0.6991 GB, free: 77.05 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.0007893/1.603, allocations: 345.2 kB / 0.6995 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/1.604, allocations: 397.8 kB / 0.6998 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00931/1.613, allocations: 3.931 MB / 0.7037 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.613, allocations: 28.88 kB / 0.7037 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.613, allocations: 7.5 kB / 0.7037 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-05/1.613, allocations: 12.7 kB / 0.7037 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.634, allocations: 8.845 MB / 0.7124 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.634, allocations: 0 / 0.7124 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.636, allocations: 339 kB / 0.7127 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002877/1.639, allocations: 0.8551 MB / 0.7135 GB, free: 75.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/1.639, allocations: 62.53 kB / 0.7136 GB, free: 75.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/1.658, allocations: 17.04 MB / 0.7302 GB, free: 65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.021e-06/1.658, allocations: 1.125 kB / 0.7302 GB, free: 65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.669, allocations: 5.842 MB / 0.7359 GB, free: 62.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.672, allocations: 0.942 MB / 0.7369 GB, free: 62.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/1.672, allocations: 74.83 kB / 0.7369 GB, free: 62.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.675, allocations: 195.5 kB / 0.7371 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008599/1.676, allocations: 350.8 kB / 0.7374 GB, free: 62.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.676, allocations: 82.42 kB / 0.7375 GB, free: 62.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004795/1.681, allocations: 2.713 MB / 0.7402 GB, free: 61.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.006e-06/1.681, allocations: 0 / 0.7402 GB, free: 61.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006997/1.688, allocations: 1.775 MB / 0.7419 GB, free: 60.88 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.003143/1.691, allocations: 1.092 MB / 0.743 GB, free: 60.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.702, allocations: 6.535 MB / 0.7494 GB, free: 57.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.702, allocations: 0 / 0.7494 GB, free: 57.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.707, allocations: 2.897 MB / 0.7522 GB, free: 55.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.712, allocations: 0.7997 MB / 0.753 GB, free: 55.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.729, allocations: 8.49 MB / 0.7613 GB, free: 52.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.733, allocations: 3.594 MB / 0.7648 GB, free: 51.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006751/1.74, allocations: 1.675 MB / 0.7664 GB, free: 50.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/1.741, allocations: 165 kB / 0.7666 GB, free: 50.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.606e-06/1.741, allocations: 0 / 0.7666 GB, free: 50.88 MB / 442.7 MB Notification: Performance of Templates: time 0.1378/1.878, allocations: 64.06 MB / 0.8291 GB, free: 3.535 MB / 442.7 MB