Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.688e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 50.41 MB / 342.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5518, allocations: 84.33 MB / 427 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5522, allocations: 70.33 kB / 427 MB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04967/0.6019, allocations: 11.32 MB / 438.4 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6019, allocations: 0 / 438.4 MB, free: 260 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.366e-05/0.602, allocations: 19.98 kB / 438.4 MB, free: 240 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00193/0.6039, allocations: 0.79 MB / 439.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.604, allocations: 12.03 kB / 439.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.6041, allocations: 75.59 kB / 439.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.6044, allocations: 63.25 kB / 439.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.6053, allocations: 407.5 kB / 439.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.6053, allocations: 31.41 kB / 439.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.6054, allocations: 42.44 kB / 439.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.6065, allocations: 415 kB / 440.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6065, allocations: 4 kB / 440.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.6066, allocations: 24.2 kB / 440.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.6066, allocations: 8 kB / 440.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.6074, allocations: 293.8 kB / 440.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.6114, allocations: 1.738 MB / 442.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.6123, allocations: 338.8 kB / 442.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.6128, allocations: 173.5 kB / 442.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.6128, allocations: 7.984 kB / 442.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.6134, allocations: 260 kB / 443 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.977e-06/0.6134, allocations: 0 / 443 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001538/0.615, allocations: 460.4 kB / 443.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6151, allocations: 187.8 kB / 443.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/0.616, allocations: 444.8 kB / 444.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.616, allocations: 37.14 kB / 444.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.6163, allocations: 253.4 kB / 444.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.6165, allocations: 122.2 kB / 444.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.6165, allocations: 7.062 kB / 444.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6167, allocations: 361.8 kB / 444.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.6171, allocations: 112.4 kB / 445 MB, free: 10.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.6175, allocations: 203.8 kB / 445.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.6179, allocations: 115.5 kB / 445.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6179, allocations: 4 kB / 445.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001138/0.619, allocations: 454.4 kB / 445.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6191, allocations: 7.938 kB / 445.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6191, allocations: 3.953 kB / 445.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.6199, allocations: 161.1 kB / 445.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.6203, allocations: 43.97 kB / 445.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/0.627, allocations: 5.934 MB / 451.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/0.6278, allocations: 62.5 kB / 451.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.6279, allocations: 10.88 kB / 451.9 MB, free: 3.695 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0002034/0.6281, allocations: 136.8 kB / 452.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6283, allocations: 59.33 kB / 452.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.6298, allocations: 493.7 kB / 452.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6298, allocations: 4 kB / 452.6 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6298, allocations: 0 / 452.6 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6298, allocations: 3.984 kB / 452.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.6309, allocations: 0.4955 MB / 453.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.6309, allocations: 4.094 kB / 453.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.6313, allocations: 35.59 kB / 453.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.6324, allocations: 159.5 kB / 453.3 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.6325, allocations: 7.625 kB / 453.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/0.639, allocations: 5.774 MB / 459.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.639, allocations: 0 / 459.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.6409, allocations: 0.4926 MB / 459.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.6414, allocations: 168.4 kB / 459.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6415, allocations: 12 kB / 459.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.642, allocations: 35.97 kB / 459.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.6423, allocations: 55.91 kB / 459.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.6423, allocations: 8 kB / 459.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007103/0.643, allocations: 353.2 kB / 460.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.395e-06/0.6431, allocations: 0 / 460.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001337/0.6444, allocations: 195.5 kB / 460.4 MB, free: 11.32 MB / 378.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,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.003094/0.6475, allocations: 1.35 MB / 461.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.6493, allocations: 0.7526 MB / 462.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.6493, allocations: 4 kB / 462.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6504, allocations: 0.6162 MB / 463.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.6513, allocations: 105.9 kB / 463.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.6545, allocations: 0.8068 MB / 464 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.6551, allocations: 0.8748 MB / 464.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000368/0.6555, allocations: 55.44 kB / 464.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.6559, allocations: 167.4 kB / 465.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6559, allocations: 0 / 465.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.7038, allocations: 12.79 MB / 477.9 MB, free: 9.891 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.7041, allocations: 233.5 kB / 478.1 MB, free: 9.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.809, allocations: 0 / 478.1 MB, free: 9.582 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat