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.422/2.422, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.505e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.446, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.6652, allocations: 74.08 MB / 368.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004556/0.6657, allocations: 75.95 kB / 368.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05903/0.7248, allocations: 6.89 MB / 375.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.7249, allocations: 0 / 375.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.83e-05/0.7249, allocations: 8 kB / 375.3 MB, free: 0.7188 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.003184/0.7282, allocations: 0.718 MB / 376.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.625e-05/0.7283, allocations: 8.031 kB / 376.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.7286, allocations: 55.42 kB / 376.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7297, allocations: 318 kB / 376.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.7298, allocations: 12.22 kB / 376.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.73, allocations: 31.94 kB / 376.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001566/0.7316, allocations: 261.5 kB / 376.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.7333, allocations: 344 kB / 377.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.7334, allocations: 0 / 377.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/0.7335, allocations: 3.938 kB / 377.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.7336, allocations: 8 kB / 377.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00712/0.7407, allocations: 1.566 MB / 378.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.7423, allocations: 302.7 kB / 378.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.7432, allocations: 165.8 kB / 379.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.7433, allocations: 8.281 kB / 379.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.7443, allocations: 261.8 kB / 379.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 5.33e-06/0.7444, allocations: 0 / 379.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.002691/0.7471, allocations: 428 kB / 379.8 MB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.7474, allocations: 217.6 kB / 380 MB, free: 11.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.7482, allocations: 245.2 kB / 380.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.7483, allocations: 29.7 kB / 380.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.7487, allocations: 216.3 kB / 380.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.749, allocations: 114.4 kB / 380.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.7491, allocations: 0 / 380.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.7494, allocations: 350.8 kB / 380.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.7501, allocations: 96.88 kB / 381 MB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.7508, allocations: 165.9 kB / 381.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.7516, allocations: 112 kB / 381.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.7516, allocations: 7.953 kB / 381.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00232/0.754, allocations: 418.3 kB / 381.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.7541, allocations: 67.33 kB / 381.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.7542, allocations: 0 / 381.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.7558, allocations: 155.5 kB / 381.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.7565, allocations: 39.91 kB / 382 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.7686, allocations: 5.734 MB / 387.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.7698, allocations: 43.8 kB / 387.7 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.77, allocations: 12 kB / 387.8 MB, free: 3.426 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.0004368/0.7705, allocations: 160 kB / 387.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00266/0.7732, allocations: 436 kB / 388.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.7734, allocations: 39.53 kB / 388.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.7737, allocations: 40.3 kB / 388.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.7738, allocations: 4 kB / 388.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7738, allocations: 3.953 kB / 388.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.7738, allocations: 3.984 kB / 388.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.7751, allocations: 381.5 kB / 388.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.7752, allocations: 0 / 388.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.7757, allocations: 27.98 kB / 388.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.7771, allocations: 155.3 kB / 389 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.7773, allocations: 7.938 kB / 389 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.7892, allocations: 5.556 MB / 394.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.7893, allocations: 4.125 kB / 394.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.7922, allocations: 467.4 kB / 395 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.7928, allocations: 148.5 kB / 395.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.7931, allocations: 4 kB / 395.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/0.794, allocations: 27.98 kB / 395.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.7945, allocations: 55.91 kB / 395.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.7946, allocations: 8 kB / 395.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005572/0.7952, allocations: 200.6 kB / 395.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.153e-06/0.7952, allocations: 4 kB / 395.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002219/0.7975, allocations: 155.7 kB / 395.6 MB, free: 11 MB / 346.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.003476/0.801, allocations: 1.039 MB / 396.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.804, allocations: 0.8339 MB / 397.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.804, allocations: 4.125 kB / 397.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.8059, allocations: 0.6622 MB / 398.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.8071, allocations: 61.11 kB / 398.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.8117, allocations: 0.6055 MB / 398.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.8126, allocations: 0.8317 MB / 399.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.8132, allocations: 27.28 kB / 399.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.8136, allocations: 119.4 kB / 399.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.174e-06/0.8137, allocations: 0 / 399.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09499/0.9087, allocations: 9.087 MB / 408.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003209/0.9091, allocations: 162.9 kB / 409 MB, free: 13.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.639/4.548, allocations: 0 / 409 MB, free: 13.35 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat