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.257/2.257, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.844e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3091, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.4632, allocations: 74.08 MB / 368.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.4636, allocations: 67.95 kB / 368.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03991/0.5036, allocations: 6.886 MB / 375.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5036, allocations: 4 kB / 375.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.375e-05/0.5037, allocations: 8 kB / 375.3 MB, free: 0.7656 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.001797/0.5055, allocations: 0.718 MB / 376 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.5056, allocations: 12.03 kB / 376 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.5058, allocations: 59.42 kB / 376.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.5064, allocations: 318 kB / 376.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.5065, allocations: 12 kB / 376.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.5066, allocations: 24.22 kB / 376.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008269/0.5074, allocations: 257.5 kB / 376.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.5084, allocations: 347.9 kB / 377 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5084, allocations: 3.938 kB / 377 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.5085, allocations: 4 kB / 377 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5085, allocations: 8 kB / 377 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.5122, allocations: 1.566 MB / 378.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.5131, allocations: 302.7 kB / 378.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.5135, allocations: 166 kB / 379 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.5136, allocations: 16.23 kB / 379 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000588/0.5142, allocations: 257.8 kB / 379.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.105e-06/0.5142, allocations: 0 / 379.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.001472/0.5157, allocations: 428 kB / 379.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.5159, allocations: 217.6 kB / 379.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.5164, allocations: 249.2 kB / 380.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.5165, allocations: 25.7 kB / 380.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.5168, allocations: 224.2 kB / 380.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.5169, allocations: 102.5 kB / 380.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.517, allocations: 7.938 kB / 380.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5172, allocations: 346.8 kB / 380.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.5175, allocations: 104.9 kB / 381 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.5179, allocations: 161.9 kB / 381.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5183, allocations: 116 kB / 381.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5183, allocations: 4 kB / 381.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001186/0.5195, allocations: 418.3 kB / 381.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.5196, allocations: 63.39 kB / 381.7 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5197, allocations: 0 / 381.7 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008179/0.5205, allocations: 155.4 kB / 381.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5208, allocations: 39.91 kB / 381.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.5283, allocations: 5.73 MB / 387.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.5292, allocations: 47.83 kB / 387.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.5293, allocations: 19.98 kB / 387.7 MB, free: 3.457 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.0002911/0.5296, allocations: 152.1 kB / 387.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001804/0.5314, allocations: 436 kB / 388.3 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5316, allocations: 39.53 kB / 388.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.5318, allocations: 40.3 kB / 388.3 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5318, allocations: 4 kB / 388.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5318, allocations: 3.953 kB / 388.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5318, allocations: 3.984 kB / 388.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.5328, allocations: 381.5 kB / 388.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5328, allocations: 0 / 388.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.5331, allocations: 23.98 kB / 388.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009132/0.534, allocations: 155.3 kB / 388.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.5341, allocations: 0 / 388.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008413/0.5425, allocations: 5.563 MB / 394.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5426, allocations: 4.125 kB / 394.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.5449, allocations: 467.5 kB / 394.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.5453, allocations: 144.5 kB / 395.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.5455, allocations: 4 kB / 395.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006732/0.5462, allocations: 35.98 kB / 395.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.5465, allocations: 55.94 kB / 395.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.5466, allocations: 8 kB / 395.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000443/0.547, allocations: 196.6 kB / 395.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5471, allocations: 4 kB / 395.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001752/0.5488, allocations: 151.7 kB / 395.5 MB, free: 11.04 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.002593/0.5515, allocations: 1.036 MB / 396.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.5535, allocations: 0.8339 MB / 397.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.5536, allocations: 4.125 kB / 397.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.5549, allocations: 0.6661 MB / 398.1 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.5557, allocations: 57.3 kB / 398.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.5592, allocations: 0.6055 MB / 398.7 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.5599, allocations: 0.8317 MB / 399.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003432/0.5603, allocations: 27.28 kB / 399.6 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.5606, allocations: 119.4 kB / 399.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5606, allocations: 0 / 399.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08377/0.6444, allocations: 9.084 MB / 408.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.6447, allocations: 154.4 kB / 408.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/3.658, allocations: 3.938 kB / 408.9 MB, free: 13.38 MB / 362.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