Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.457/2.457, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.979e-05, allocations: 4.578 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6194, allocations: 74.11 MB / 368.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.6198, allocations: 66.2 kB / 368.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02582/0.6456, allocations: 4.55 MB / 373 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6457, allocations: 0 / 373 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.6457, allocations: 3.844 kB / 373 MB, free: 22.56 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001999/0.6477, allocations: 0.6099 MB / 373.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6478, allocations: 7.75 kB / 373.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.6479, allocations: 27.34 kB / 373.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.6484, allocations: 264.8 kB / 373.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.6485, allocations: 11.81 kB / 373.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.6486, allocations: 15.06 kB / 374 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005771/0.6492, allocations: 160.2 kB / 374.1 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.6498, allocations: 213.8 kB / 374.3 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6498, allocations: 4 kB / 374.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.6499, allocations: 0 / 374.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6499, allocations: 3.875 kB / 374.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003361/0.6532, allocations: 0.9744 MB / 375.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/0.6589, allocations: 471.3 kB / 375.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.6595, allocations: 153.6 kB / 375.9 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.6596, allocations: 3.953 kB / 375.9 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.6601, allocations: 166.6 kB / 376.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.947e-06/0.6601, allocations: 4 kB / 376.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006897/0.6608, allocations: 206.9 kB / 376.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6609, allocations: 109.3 kB / 376.4 MB, free: 21.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.6611, allocations: 189.1 kB / 376.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.6612, allocations: 28.95 kB / 376.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6613, allocations: 158 kB / 376.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.6614, allocations: 66.94 kB / 376.8 MB, free: 20.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.6615, allocations: 0 / 376.8 MB, free: 20.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6616, allocations: 334 kB / 377.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.6619, allocations: 74.59 kB / 377.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.6621, allocations: 116.6 kB / 377.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.6624, allocations: 79.19 kB / 377.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6624, allocations: 0 / 377.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006948/0.6632, allocations: 241 kB / 377.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.6632, allocations: 29.42 kB / 377.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6632, allocations: 3.875 kB / 377.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6633, allocations: 3.953 kB / 377.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/0.6682, allocations: 332.7 kB / 378 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.676, allocations: 2.964 MB / 381 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.6769, allocations: 60.06 kB / 381 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.677, allocations: 11.62 kB / 381 MB, free: 17.66 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: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.6772, allocations: 116.5 kB / 381.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005832/0.6778, allocations: 198.6 kB / 381.4 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.6778, allocations: 26.7 kB / 381.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.678, allocations: 27.25 kB / 381.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.678, allocations: 4.031 kB / 381.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.678, allocations: 3.906 kB / 381.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.678, allocations: 0 / 381.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.6799, allocations: 0.7362 MB / 382.1 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.68, allocations: 3.953 kB / 382.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004898/0.6849, allocations: 330.3 kB / 382.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.6849, allocations: 3.938 kB / 382.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.685, allocations: 0 / 382.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007543/0.6925, allocations: 2.968 MB / 385.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6926, allocations: 0 / 385.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6936, allocations: 442.7 kB / 385.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6937, allocations: 96.61 kB / 386 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.6938, allocations: 3.562 kB / 386 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.6946, allocations: 58.89 kB / 386 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6948, allocations: 31.03 kB / 386.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.6948, allocations: 7.438 kB / 386.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.6951, allocations: 154.5 kB / 386.2 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6951, allocations: 4 kB / 386.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.6959, allocations: 81.69 kB / 386.3 MB, free: 13.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.6973, allocations: 1.128 MB / 387.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.7018, allocations: 469.6 kB / 387.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7019, allocations: 0 / 387.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.7061, allocations: 348.1 kB / 388.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.7067, allocations: 26.62 kB / 388.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.7095, allocations: 482.2 kB / 388.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.71, allocations: 0.7541 MB / 389.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000289/0.7103, allocations: 25.69 kB / 389.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.7105, allocations: 76 kB / 389.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7105, allocations: 0 / 389.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/0.7701, allocations: 4.788 MB / 394.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002528/0.7705, allocations: 160.2 kB / 394.5 MB, free: 9.297 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.246/4.016, allocations: 0 / 394.5 MB, free: 9.297 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat does not exist to compare? outputFormat=mat