Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACAC_SoftStarter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.066e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6021/0.7137, allocations: 139.4 MB / 482.1 MB, free: 3.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.7141, allocations: 92.38 kB / 482.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7913/1.505, allocations: 114.6 MB / 0.5828 GB, free: 94.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.505, allocations: 0 / 0.5828 GB, free: 94.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008754/1.506, allocations: 136.2 kB / 0.5829 GB, free: 94.51 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.02809/1.534, allocations: 5.433 MB / 0.5882 GB, free: 91.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/1.535, allocations: 7.656 kB / 0.5883 GB, free: 91.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00344/1.538, allocations: 0.6331 MB / 0.5889 GB, free: 91.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/1.546, allocations: 0.9987 MB / 0.5898 GB, free: 90.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02455/1.571, allocations: 4.566 MB / 0.5943 GB, free: 88.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008775/1.572, allocations: 474.4 kB / 0.5948 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/1.575, allocations: 463.6 kB / 0.5952 GB, free: 88.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/1.605, allocations: 5.965 MB / 0.601 GB, free: 85.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/1.606, allocations: 11.14 kB / 0.601 GB, free: 85.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/1.608, allocations: 192.2 kB / 0.6012 GB, free: 85.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/1.608, allocations: 192.2 kB / 0.6014 GB, free: 85.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/1.633, allocations: 4.782 MB / 0.6061 GB, free: 83.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05644/1.689, allocations: 19.83 MB / 0.6254 GB, free: 64.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/1.703, allocations: 6.067 MB / 0.6314 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008964/1.712, allocations: 2.065 MB / 0.6334 GB, free: 55.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/1.731, allocations: 5.708 MB / 0.639 GB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004436/1.735, allocations: 1.674 MB / 0.6406 GB, free: 48.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 8.245e-06/1.735, allocations: 0 / 0.6406 GB, free: 48.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=263): time 0.02163/1.757, allocations: 7.286 MB / 0.6477 GB, free: 40.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.757, allocations: 453.3 kB / 0.6481 GB, free: 40.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009436/1.767, allocations: 3.534 MB / 0.6516 GB, free: 36.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007334/1.767, allocations: 93.62 kB / 0.6517 GB, free: 36.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002776/1.77, allocations: 2.175 MB / 0.6538 GB, free: 34.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/1.771, allocations: 0.8355 MB / 0.6546 GB, free: 33.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/1.772, allocations: 63.91 kB / 0.6547 GB, free: 33.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/1.772, allocations: 428.4 kB / 0.6551 GB, free: 33.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/1.775, allocations: 1.259 MB / 0.6563 GB, free: 31.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/1.78, allocations: 2.117 MB / 0.6584 GB, free: 29.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/1.784, allocations: 1.562 MB / 0.6599 GB, free: 27.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.784, allocations: 4 kB / 0.6599 GB, free: 27.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01166/1.796, allocations: 4.088 MB / 0.6639 GB, free: 23.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001962/1.798, allocations: 9.672 MB / 0.6734 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.063e-05/1.798, allocations: 24 kB / 0.6734 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/1.8, allocations: 0.5709 MB / 0.6739 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005227/1.805, allocations: 0.6357 MB / 0.6746 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.818, allocations: 10.11 MB / 0.6844 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/1.823, allocations: 247.7 kB / 0.6847 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007962/1.824, allocations: 124 kB / 0.6848 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.824, allocations: 4 kB / 0.6848 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3843/2.208, allocations: 3.753 MB / 0.6884 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/2.208, allocations: 23.72 kB / 0.6885 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/2.211, allocations: 0.5756 MB / 0.689 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/2.216, allocations: 0.6181 MB / 0.6896 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/2.231, allocations: 10.13 MB / 0.6995 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/2.236, allocations: 223.9 kB / 0.6997 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/2.237, allocations: 124.5 kB / 0.6999 GB, free: 77.12 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.001369/2.238, allocations: 344.3 kB / 0.7002 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.239, allocations: 396.7 kB / 0.7006 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/2.254, allocations: 3.936 MB / 0.7044 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/2.254, allocations: 25.56 kB / 0.7044 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.6e-05/2.254, allocations: 6.938 kB / 0.7044 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.852e-05/2.254, allocations: 15.78 kB / 0.7045 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/2.285, allocations: 8.847 MB / 0.7131 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/2.285, allocations: 0 / 0.7131 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/2.289, allocations: 337.2 kB / 0.7134 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/2.293, allocations: 0.855 MB / 0.7143 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007184/2.293, allocations: 61.73 kB / 0.7143 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/2.317, allocations: 17.04 MB / 0.731 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.317, allocations: 0 / 0.731 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/2.333, allocations: 5.846 MB / 0.7367 GB, free: 62.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/2.337, allocations: 0.9412 MB / 0.7376 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.338, allocations: 75.48 kB / 0.7377 GB, free: 62.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004201/2.343, allocations: 195.7 kB / 0.7378 GB, free: 62.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/2.344, allocations: 348.3 kB / 0.7382 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004978/2.345, allocations: 79.92 kB / 0.7382 GB, free: 61.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007305/2.352, allocations: 2.712 MB / 0.7409 GB, free: 60.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.352, allocations: 0 / 0.7409 GB, free: 60.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01064/2.363, allocations: 1.769 MB / 0.7426 GB, free: 60.77 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.01858/2.381, allocations: 7.735 MB / 0.7502 GB, free: 57.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01655/2.398, allocations: 6.543 MB / 0.7566 GB, free: 53.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.398, allocations: 5.625 kB / 0.7566 GB, free: 53.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007255/2.405, allocations: 2.896 MB / 0.7594 GB, free: 52.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/2.412, allocations: 0.7923 MB / 0.7602 GB, free: 52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/2.447, allocations: 9.924 MB / 0.7699 GB, free: 48.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006998/2.454, allocations: 3.594 MB / 0.7734 GB, free: 46.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01048/2.464, allocations: 1.674 MB / 0.775 GB, free: 45.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004257/2.469, allocations: 1.802 MB / 0.7768 GB, free: 44.22 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/2.469, allocations: 0 / 0.7768 GB, free: 44.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6368/3.105, allocations: 100.2 MB / 0.8746 GB, free: 102.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/3.106, allocations: 239.8 kB / 0.8749 GB, free: 101.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/10.93, allocations: 0 / 0.8749 GB, free: 101.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter_res.mat does not exist to compare? outputFormat=mat