Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.852e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09809, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5758, allocations: 74.74 MB / 374.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5761, allocations: 68.2 kB / 374.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03055/0.6067, allocations: 6.962 MB / 381.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.6067, allocations: 2.625 kB / 381.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.334e-05/0.6068, allocations: 8.812 kB / 381.8 MB, free: 11.83 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.001555/0.6083, allocations: 0.7236 MB / 382.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6084, allocations: 15.7 kB / 382.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.6085, allocations: 77.28 kB / 382.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.6087, allocations: 55.75 kB / 382.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.6092, allocations: 320.3 kB / 382.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.6093, allocations: 31 kB / 383 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.6094, allocations: 41.09 kB / 383 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.6103, allocations: 398.9 kB / 383.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6104, allocations: 1.375 kB / 383.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.6104, allocations: 13.75 kB / 383.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6105, allocations: 13.61 kB / 383.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.6113, allocations: 284.3 kB / 383.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.6146, allocations: 1.629 MB / 385.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.6155, allocations: 321.4 kB / 385.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.616, allocations: 184.2 kB / 385.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.616, allocations: 4.156 kB / 385.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.6166, allocations: 269.9 kB / 386.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.885e-06/0.6166, allocations: 0 / 386.1 MB, free: 9.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001501/0.6181, allocations: 487.2 kB / 386.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.6183, allocations: 219.2 kB / 386.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.6188, allocations: 280.9 kB / 387.1 MB, free: 9.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.6189, allocations: 36.33 kB / 387.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.6191, allocations: 215.8 kB / 387.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6192, allocations: 120.3 kB / 387.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.6192, allocations: 9.156 kB / 387.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.6194, allocations: 350.6 kB / 387.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.6197, allocations: 110.2 kB / 387.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.6201, allocations: 173 kB / 388.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.6205, allocations: 177.6 kB / 388.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6205, allocations: 3.938 kB / 388.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001159/0.6217, allocations: 0.4986 MB / 388.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.6217, allocations: 58.78 kB / 388.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6218, allocations: 6.688 kB / 388.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007621/0.6225, allocations: 148.5 kB / 388.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.6229, allocations: 42.55 kB / 389 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.6287, allocations: 5.933 MB / 394.9 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/0.6295, allocations: 61.12 kB / 395 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.6296, allocations: 8.812 kB / 395 MB, free: 18.98 MB / 330.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.0002268/0.6299, allocations: 166.7 kB / 395.1 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.63, allocations: 44.2 kB / 395.2 MB, free: 18.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.6301, allocations: 49.98 kB / 395.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6301, allocations: 3.906 kB / 395.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.6301, allocations: 3.953 kB / 395.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6301, allocations: 2.109 kB / 395.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.6308, allocations: 435.9 kB / 395.7 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6308, allocations: 0 / 395.7 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.631, allocations: 32.83 kB / 395.7 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.6317, allocations: 154.5 kB / 395.9 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.6318, allocations: 14.34 kB / 395.9 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.6386, allocations: 5.775 MB / 401.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6386, allocations: 0 / 401.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.6401, allocations: 0.5287 MB / 402.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.6403, allocations: 145.1 kB / 402.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.6405, allocations: 10.66 kB / 402.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.641, allocations: 39.39 kB / 402.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.6412, allocations: 60.38 kB / 402.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.6412, allocations: 10.69 kB / 402.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003409/0.6416, allocations: 225.2 kB / 402.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6416, allocations: 0 / 402.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001041/0.6427, allocations: 167.3 kB / 402.8 MB, free: 12.92 MB / 330.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.001752/0.6444, allocations: 1.101 MB / 403.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.6458, allocations: 0.8541 MB / 404.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6459, allocations: 0 / 404.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008824/0.6468, allocations: 0.6839 MB / 405.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.6474, allocations: 79.03 kB / 405.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.6496, allocations: 0.6415 MB / 406.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.65, allocations: 0.8335 MB / 407 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.6502, allocations: 27.94 kB / 407 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.6504, allocations: 122.8 kB / 407.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.6504, allocations: 0 / 407.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/0.6916, allocations: 10.27 MB / 417.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/0.6919, allocations: 197.3 kB / 417.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/3.827, allocations: 0 / 417.6 MB, free: 7.598 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat