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.076/2.076, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.292e-05, allocations: 4 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09585, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5343, allocations: 74.73 MB / 374.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5347, allocations: 67.02 kB / 374.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03151/0.5662, allocations: 6.954 MB / 381.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5662, allocations: 1.25 kB / 381.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.5663, allocations: 8.781 kB / 381.7 MB, free: 11.48 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.001683/0.568, allocations: 0.7299 MB / 382.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5681, allocations: 10.25 kB / 382.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.5682, allocations: 78.73 kB / 382.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.5684, allocations: 52.72 kB / 382.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.569, allocations: 321.5 kB / 382.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.5691, allocations: 34.44 kB / 382.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.5692, allocations: 36.94 kB / 383 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.5702, allocations: 401.9 kB / 383.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5703, allocations: 7.875 kB / 383.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.5703, allocations: 16.56 kB / 383.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.5704, allocations: 9.406 kB / 383.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.5712, allocations: 286.7 kB / 383.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.5753, allocations: 1.64 MB / 385.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.5762, allocations: 321.2 kB / 385.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.5767, allocations: 180.5 kB / 385.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.5767, allocations: 15.64 kB / 385.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.5773, allocations: 263.5 kB / 386.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.857e-06/0.5774, allocations: 1.25 kB / 386.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001641/0.579, allocations: 492 kB / 386.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.5791, allocations: 214 kB / 386.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.5797, allocations: 283.3 kB / 387 MB, free: 9.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.5798, allocations: 36.08 kB / 387.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.58, allocations: 216.2 kB / 387.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.5802, allocations: 112.4 kB / 387.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.5802, allocations: 11.5 kB / 387.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5803, allocations: 352.2 kB / 387.8 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.5807, allocations: 113.3 kB / 387.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.5811, allocations: 178.7 kB / 388 MB, free: 8.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.5814, allocations: 170.2 kB / 388.2 MB, free: 8.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.5815, allocations: 4 kB / 388.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001165/0.5826, allocations: 0.499 MB / 388.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.5827, allocations: 57.67 kB / 388.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5827, allocations: 5.328 kB / 388.8 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/0.5836, allocations: 161.1 kB / 388.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.584, allocations: 30.77 kB / 389 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.5904, allocations: 5.95 MB / 394.9 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.5912, allocations: 57.44 kB / 395 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.5913, allocations: 19.48 kB / 395 MB, free: 18.62 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.0002462/0.5915, allocations: 164.5 kB / 395.1 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.5916, allocations: 39 kB / 395.2 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.5918, allocations: 47.72 kB / 395.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5918, allocations: 7.781 kB / 395.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5918, allocations: 3.953 kB / 395.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.5918, allocations: 2.766 kB / 395.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.5925, allocations: 446.6 kB / 395.7 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5926, allocations: 3.938 kB / 395.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.5928, allocations: 20.7 kB / 395.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.5935, allocations: 158.9 kB / 395.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.5935, allocations: 11.62 kB / 395.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/0.6001, allocations: 5.775 MB / 401.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6002, allocations: 3.844 kB / 401.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6017, allocations: 0.5281 MB / 402.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.602, allocations: 144.6 kB / 402.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.6021, allocations: 11.22 kB / 402.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.6026, allocations: 40.78 kB / 402.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.6028, allocations: 57.52 kB / 402.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.6029, allocations: 14.34 kB / 402.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003417/0.6032, allocations: 224.5 kB / 402.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6032, allocations: 0 / 402.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00105/0.6043, allocations: 168.5 kB / 402.8 MB, free: 12.55 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.0019/0.6062, allocations: 1.101 MB / 403.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.6078, allocations: 0.8792 MB / 404.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6078, allocations: 3.906 kB / 404.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.6088, allocations: 0.7023 MB / 405.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.6095, allocations: 84.33 kB / 405.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6119, allocations: 0.6448 MB / 406.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.6125, allocations: 0.8302 MB / 407.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.6128, allocations: 25.84 kB / 407.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.613, allocations: 127.2 kB / 407.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.613, allocations: 0 / 407.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.6535, allocations: 10.33 MB / 417.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.6538, allocations: 186.8 kB / 417.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.759, allocations: 3.938 kB / 417.7 MB, free: 7.191 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