Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACAC_SoftStarter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.134e-05, allocations: 1.875 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5512/0.6637, allocations: 139.4 MB / 482.6 MB, free: 3.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004323/0.6642, allocations: 89.7 kB / 482.7 MB, free: 3.305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7593/1.424, allocations: 114.6 MB / 0.5833 GB, free: 94.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.424, allocations: 0 / 0.5833 GB, free: 94.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006008/1.424, allocations: 145.1 kB / 0.5834 GB, free: 94.43 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.02083/1.445, allocations: 5.433 MB / 0.5887 GB, free: 91.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.445, allocations: 10.28 kB / 0.5888 GB, free: 91.64 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002465/1.448, allocations: 0.6279 MB / 0.5894 GB, free: 91.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007493/1.455, allocations: 1.005 MB / 0.5903 GB, free: 90.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.473, allocations: 4.576 MB / 0.5948 GB, free: 88.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006659/1.473, allocations: 460 kB / 0.5953 GB, free: 88.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/1.476, allocations: 469.7 kB / 0.5957 GB, free: 88.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/1.496, allocations: 5.968 MB / 0.6015 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/1.496, allocations: 0 / 0.6015 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/1.498, allocations: 195.2 kB / 0.6017 GB, free: 85.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000237/1.498, allocations: 188 kB / 0.6019 GB, free: 85.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/1.515, allocations: 4.784 MB / 0.6066 GB, free: 83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05287/1.568, allocations: 19.84 MB / 0.6259 GB, free: 64.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.58, allocations: 6.064 MB / 0.6319 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005699/1.586, allocations: 2.062 MB / 0.6339 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.604, allocations: 5.705 MB / 0.6395 GB, free: 50.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003602/1.608, allocations: 1.678 MB / 0.6411 GB, free: 48.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 5.691e-06/1.608, allocations: 0 / 0.6411 GB, free: 48.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=263): time 0.02064/1.628, allocations: 7.294 MB / 0.6482 GB, free: 40.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.629, allocations: 453.3 kB / 0.6486 GB, free: 40.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009326/1.638, allocations: 3.526 MB / 0.6521 GB, free: 36.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007171/1.639, allocations: 93.69 kB / 0.6522 GB, free: 36.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.642, allocations: 2.175 MB / 0.6543 GB, free: 34.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.643, allocations: 0.8352 MB / 0.6551 GB, free: 33.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/1.643, allocations: 67.83 kB / 0.6552 GB, free: 33.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/1.644, allocations: 428.4 kB / 0.6556 GB, free: 33.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/1.647, allocations: 1.259 MB / 0.6568 GB, free: 31.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/1.651, allocations: 2.117 MB / 0.6589 GB, free: 29.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/1.656, allocations: 1.554 MB / 0.6604 GB, free: 27.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/1.656, allocations: 8 kB / 0.6604 GB, free: 27.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01184/1.667, allocations: 4.08 MB / 0.6644 GB, free: 23.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002039/1.67, allocations: 9.672 MB / 0.6738 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.67, allocations: 24 kB / 0.6739 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/1.672, allocations: 0.5788 MB / 0.6744 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/1.677, allocations: 0.6319 MB / 0.675 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.689, allocations: 10.11 MB / 0.6849 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/1.694, allocations: 247.7 kB / 0.6852 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008267/1.695, allocations: 131.9 kB / 0.6853 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.695, allocations: 4.094 kB / 0.6853 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3459/2.041, allocations: 3.754 MB / 0.6889 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/2.041, allocations: 23.22 kB / 0.689 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/2.044, allocations: 0.5719 MB / 0.6895 GB, free: 83.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/2.049, allocations: 0.6213 MB / 0.6901 GB, free: 83.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/2.063, allocations: 10.12 MB / 0.7 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/2.067, allocations: 224.6 kB / 0.7002 GB, free: 77.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008535/2.068, allocations: 130.8 kB / 0.7004 GB, free: 77.13 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.001126/2.069, allocations: 340.6 kB / 0.7007 GB, free: 77.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/2.071, allocations: 400.1 kB / 0.7011 GB, free: 77.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/2.084, allocations: 3.926 MB / 0.7049 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/2.084, allocations: 28.66 kB / 0.7049 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/2.084, allocations: 11.58 kB / 0.7049 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.641e-05/2.084, allocations: 13.34 kB / 0.705 GB, free: 76.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/2.111, allocations: 8.853 MB / 0.7136 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/2.111, allocations: 1.344 kB / 0.7136 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004452/2.116, allocations: 336.4 kB / 0.7139 GB, free: 75.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/2.119, allocations: 0.8452 MB / 0.7147 GB, free: 75.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005792/2.12, allocations: 63 kB / 0.7148 GB, free: 75.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/2.142, allocations: 17.05 MB / 0.7315 GB, free: 65.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.142, allocations: 0.8438 kB / 0.7315 GB, free: 65.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/2.157, allocations: 5.85 MB / 0.7372 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/2.16, allocations: 0.9337 MB / 0.7381 GB, free: 62.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/2.161, allocations: 73.12 kB / 0.7381 GB, free: 62.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/2.165, allocations: 192.3 kB / 0.7383 GB, free: 62.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/2.166, allocations: 356 kB / 0.7387 GB, free: 61.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.167, allocations: 76.69 kB / 0.7387 GB, free: 61.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006326/2.173, allocations: 2.714 MB / 0.7414 GB, free: 60.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.173, allocations: 0 / 0.7414 GB, free: 60.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01038/2.183, allocations: 1.771 MB / 0.7431 GB, free: 60.79 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.02052/2.204, allocations: 7.741 MB / 0.7507 GB, free: 57.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02133/2.225, allocations: 6.532 MB / 0.7571 GB, free: 53.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/2.225, allocations: 3.969 kB / 0.7571 GB, free: 53.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009217/2.235, allocations: 2.904 MB / 0.7599 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.008835/2.243, allocations: 0.7884 MB / 0.7607 GB, free: 52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/2.281, allocations: 9.931 MB / 0.7704 GB, free: 48.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006836/2.288, allocations: 3.597 MB / 0.7739 GB, free: 47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01016/2.298, allocations: 1.674 MB / 0.7755 GB, free: 46.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004035/2.302, allocations: 1.8 MB / 0.7773 GB, free: 44.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/2.302, allocations: 4 kB / 0.7773 GB, free: 44.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7024/3.005, allocations: 100.2 MB / 0.8751 GB, free: 102 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/3.005, allocations: 240.6 kB / 0.8754 GB, free: 101.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/11.27, allocations: 0 / 0.8754 GB, free: 101.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter_res.mat does not exist to compare? outputFormat=mat