Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.362e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5764, allocations: 81.2 MB / 423.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5767, allocations: 66.66 kB / 423.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.6004, allocations: 4.904 MB / 428.8 MB, free: 8.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6005, allocations: 0 / 428.8 MB, free: 8.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.6005, allocations: 8 kB / 428.8 MB, free: 8.316 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001931/0.6025, allocations: 0.6055 MB / 429.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.6025, allocations: 12.03 kB / 429.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.266e-05/0.6026, allocations: 50.23 kB / 429.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.6028, allocations: 27.72 kB / 429.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.6032, allocations: 262.6 kB / 429.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.6033, allocations: 24.25 kB / 429.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.6034, allocations: 19.75 kB / 429.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.604, allocations: 244.6 kB / 430 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.604, allocations: 0 / 430 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.6041, allocations: 3.438 kB / 430 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6041, allocations: 8 kB / 430 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.6047, allocations: 169.2 kB / 430.2 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.6076, allocations: 1.015 MB / 431.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/0.6126, allocations: 486.4 kB / 431.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.6131, allocations: 150.8 kB / 431.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.6132, allocations: 4 kB / 431.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.6137, allocations: 175.9 kB / 432 MB, free: 5.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/0.6137, allocations: 0 / 432 MB, free: 5.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006981/0.6144, allocations: 219 kB / 432.2 MB, free: 5.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.6145, allocations: 106.8 kB / 432.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.6148, allocations: 215.3 kB / 432.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.6149, allocations: 33.67 kB / 432.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6151, allocations: 217 kB / 432.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.6152, allocations: 70.12 kB / 432.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.6152, allocations: 6.938 kB / 432.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6154, allocations: 318.7 kB / 433.2 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6156, allocations: 84.14 kB / 433.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.6159, allocations: 112.9 kB / 433.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.6162, allocations: 108.5 kB / 433.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6162, allocations: 3.984 kB / 433.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000709/0.6169, allocations: 262 kB / 433.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.617, allocations: 29.7 kB / 433.8 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.617, allocations: 3.984 kB / 433.8 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.6171, allocations: 4 kB / 433.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/0.6223, allocations: 335.6 kB / 434.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/0.6319, allocations: 3.039 MB / 437.1 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6331, allocations: 63.3 kB / 437.2 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.6331, allocations: 8 kB / 437.2 MB, free: 312 kB / 346.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: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.6334, allocations: 126.3 kB / 437.3 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6335, allocations: 27.7 kB / 437.4 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6336, allocations: 26.66 kB / 437.4 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6337, allocations: 7.953 kB / 437.4 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6337, allocations: 0 / 437.4 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6337, allocations: 3.984 kB / 437.4 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.6366, allocations: 0.7935 MB / 438.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6367, allocations: 0 / 438.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005912/0.6426, allocations: 334.8 kB / 438.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.6427, allocations: 11.89 kB / 438.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.6428, allocations: 3.875 kB / 438.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009624/0.6524, allocations: 3.043 MB / 441.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6525, allocations: 0 / 441.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.654, allocations: 457.4 kB / 442 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.6542, allocations: 100.2 kB / 442.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6543, allocations: 14.95 kB / 442.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6553, allocations: 55.03 kB / 442.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.6555, allocations: 35.08 kB / 442.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.6556, allocations: 4 kB / 442.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.6559, allocations: 168.9 kB / 442.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.656, allocations: 0 / 442.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001113/0.6571, allocations: 90.41 kB / 442.5 MB, free: 11.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.6587, allocations: 1.137 MB / 443.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.6629, allocations: 485.6 kB / 444.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.663, allocations: 0 / 444.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.6667, allocations: 334.5 kB / 444.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.6673, allocations: 45.75 kB / 444.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.67, allocations: 0.5714 MB / 445 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.6705, allocations: 0.7522 MB / 445.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.6707, allocations: 84.28 kB / 445.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6707, allocations: 4 kB / 445.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/3.385, allocations: 6.216 MB / 452.1 MB, free: 1.754 MB / 362.7 MB