Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.527/2.527, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.062e-05, allocations: 4.094 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5024/0.6083, allocations: 74.07 MB / 368.3 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6086, allocations: 69.86 kB / 368.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03294/0.6415, allocations: 6.931 MB / 375.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6416, allocations: 0 / 375.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.6417, allocations: 7.75 kB / 375.3 MB, free: 22.35 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001782/0.6434, allocations: 0.7241 MB / 376.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6435, allocations: 11.69 kB / 376.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.6437, allocations: 65.64 kB / 376.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.6438, allocations: 50.28 kB / 376.2 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.6444, allocations: 326.1 kB / 376.5 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.6445, allocations: 16.47 kB / 376.5 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.6446, allocations: 31.17 kB / 376.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008573/0.6455, allocations: 258.4 kB / 376.8 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.6464, allocations: 348.2 kB / 377.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6464, allocations: 0 / 377.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.6465, allocations: 0 / 377.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6465, allocations: 15.62 kB / 377.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.6501, allocations: 1.552 MB / 378.7 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.6509, allocations: 312 kB / 379 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.6513, allocations: 171.9 kB / 379.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.6514, allocations: 4.156 kB / 379.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.652, allocations: 254 kB / 379.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.516e-06/0.652, allocations: 0 / 379.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001493/0.6535, allocations: 427.9 kB / 379.9 MB, free: 20.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.6536, allocations: 213.4 kB / 380.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.6541, allocations: 252.3 kB / 380.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.6541, allocations: 25.7 kB / 380.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.6544, allocations: 223.4 kB / 380.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6545, allocations: 110.8 kB / 380.7 MB, free: 19.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.6545, allocations: 0 / 380.7 MB, free: 19.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6547, allocations: 349.3 kB / 381 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.655, allocations: 104.1 kB / 381.1 MB, free: 19.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.6554, allocations: 168.2 kB / 381.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.6558, allocations: 113.8 kB / 381.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6558, allocations: 0 / 381.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001195/0.657, allocations: 414.3 kB / 381.8 MB, free: 19.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.6571, allocations: 63.14 kB / 381.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6572, allocations: 3.938 kB / 381.9 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/0.658, allocations: 151.4 kB / 382 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.6584, allocations: 38.36 kB / 382 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006828/0.6653, allocations: 5.741 MB / 387.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.6661, allocations: 43.2 kB / 387.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.6662, allocations: 14.81 kB / 387.8 MB, free: 13.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.6664, allocations: 151.4 kB / 388 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.6665, allocations: 43.03 kB / 388 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.6667, allocations: 42.98 kB / 388.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6667, allocations: 3.875 kB / 388.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6667, allocations: 3.938 kB / 388.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6668, allocations: 3.984 kB / 388.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.6674, allocations: 372 kB / 388.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6674, allocations: 7.766 kB / 388.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.6677, allocations: 23.62 kB / 388.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/0.6685, allocations: 152 kB / 388.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.6686, allocations: 3.875 kB / 388.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007728/0.6763, allocations: 5.561 MB / 394.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.6764, allocations: 3.938 kB / 394.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.6791, allocations: 475 kB / 394.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.6797, allocations: 140.9 kB / 394.8 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.6799, allocations: 6.531 kB / 394.8 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.6806, allocations: 39.3 kB / 394.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.6808, allocations: 48.17 kB / 394.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.6809, allocations: 10.66 kB / 394.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.6812, allocations: 195.3 kB / 395.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6812, allocations: 0 / 395.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001193/0.6824, allocations: 151.9 kB / 395.2 MB, free: 7.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.6845, allocations: 1.049 MB / 396.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.6862, allocations: 0.8428 MB / 397.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6863, allocations: 0 / 397.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6874, allocations: 0.659 MB / 397.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.6881, allocations: 65.08 kB / 397.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.6908, allocations: 0.5989 MB / 398.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.6913, allocations: 0.8416 MB / 399.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.6916, allocations: 22.97 kB / 399.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.6918, allocations: 122.9 kB / 399.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/0.6918, allocations: 0 / 399.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/0.7847, allocations: 9.354 MB / 408.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004262/0.7852, allocations: 162.3 kB / 408.9 MB, free: 15.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.765/4.551, allocations: 3.938 kB / 408.9 MB, free: 15.66 MB / 330.7 MB "" Variables in the reference:time,IdealThyristor1.off,IdealThyristor2.off,booleanStep1.y Variables in the result:Ground1.p.i,Ground1.p.v,IdealGTOThyristor1.Goff,IdealGTOThyristor1.LossPower,IdealGTOThyristor1.Ron,IdealGTOThyristor1.T,IdealGTOThyristor1.T_heatPort,IdealGTOThyristor1.Vknee,IdealGTOThyristor1.fire,IdealGTOThyristor1.i,IdealGTOThyristor1.n.i,IdealGTOThyristor1.n.v,IdealGTOThyristor1.off,IdealGTOThyristor1.p.i,IdealGTOThyristor1.p.v,IdealGTOThyristor1.s,IdealGTOThyristor1.useHeatPort,IdealGTOThyristor1.v,IdealGTOThyristor2.Goff,IdealGTOThyristor2.LossPower,IdealGTOThyristor2.Ron,IdealGTOThyristor2.T,IdealGTOThyristor2.T_heatPort,IdealGTOThyristor2.Vknee,IdealGTOThyristor2.fire,IdealGTOThyristor2.i,IdealGTOThyristor2.n.i,IdealGTOThyristor2.n.v,IdealGTOThyristor2.off,IdealGTOThyristor2.p.i,IdealGTOThyristor2.p.v,IdealGTOThyristor2.s,IdealGTOThyristor2.useHeatPort,IdealGTOThyristor2.v,IdealThyristor1.Goff,IdealThyristor1.LossPower,IdealThyristor1.Ron,IdealThyristor1.T,IdealThyristor1.T_heatPort,IdealThyristor1.Vknee,IdealThyristor1.fire,IdealThyristor1.i,IdealThyristor1.n.i,IdealThyristor1.n.v,IdealThyristor1.off,IdealThyristor1.p.i,IdealThyristor1.p.v,IdealThyristor1.s,IdealThyristor1.useHeatPort,IdealThyristor1.v,IdealThyristor2.Goff,IdealThyristor2.LossPower,IdealThyristor2.Ron,IdealThyristor2.T,IdealThyristor2.T_heatPort,IdealThyristor2.Vknee,IdealThyristor2.fire,IdealThyristor2.i,IdealThyristor2.n.i,IdealThyristor2.n.v,IdealThyristor2.off,IdealThyristor2.p.i,IdealThyristor2.p.v,IdealThyristor2.s,IdealThyristor2.useHeatPort,IdealThyristor2.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.useHeatPort,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.useHeatPort,R2.v,R3.LossPower,R3.R,R3.R_actual,R3.T,R3.T_heatPort,R3.T_ref,R3.alpha,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.useHeatPort,R3.v,R4.LossPower,R4.R,R4.R_actual,R4.T,R4.T_heatPort,R4.T_ref,R4.alpha,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.useHeatPort,R4.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,_D_whenCondition1,_D_whenCondition2,booleanPulse.Twidth,booleanPulse.period,booleanPulse.pulsStart,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,booleanStep1.index,booleanStep1.n,booleanStep1.nextTime,booleanStep1.startValue,booleanStep1.table[1],booleanStep1.table[2],booleanStep1.table[3],booleanStep1.table[4],booleanStep1.table[5],booleanStep1.table[6],booleanStep1.y,time