Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.637/2.637, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.18e-05, allocations: 8.812 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.594, allocations: 73.32 MB / 367.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/0.5945, allocations: 71.64 kB / 367.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.6199, allocations: 4.847 MB / 372.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.62, allocations: 4 kB / 372.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.62, allocations: 3.875 kB / 372.5 MB, free: 22.56 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001229/0.6212, allocations: 0.5403 MB / 373 MB, free: 22.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6213, allocations: 7.75 kB / 373.1 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.6214, allocations: 56.11 kB / 373.1 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.6215, allocations: 38.59 kB / 373.1 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.622, allocations: 271.2 kB / 373.4 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.622, allocations: 12.25 kB / 373.4 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.6221, allocations: 11.56 kB / 373.4 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005634/0.6227, allocations: 173.2 kB / 373.6 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.6233, allocations: 240.5 kB / 373.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6234, allocations: 7.812 kB / 373.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.6234, allocations: 0 / 373.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.6234, allocations: 5.078 kB / 373.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.626, allocations: 1.1 MB / 375 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.6268, allocations: 197.9 kB / 375.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.6273, allocations: 135.2 kB / 375.3 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.6273, allocations: 192 / 375.3 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.6277, allocations: 162 kB / 375.4 MB, free: 21.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.745e-06/0.6277, allocations: 0 / 375.4 MB, free: 21.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008841/0.6286, allocations: 231.3 kB / 375.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6287, allocations: 138.1 kB / 375.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.629, allocations: 196 kB / 376 MB, free: 20.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.629, allocations: 29.73 kB / 376 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.6292, allocations: 171.8 kB / 376.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.6293, allocations: 65.27 kB / 376.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6293, allocations: 0 / 376.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6295, allocations: 330.3 kB / 376.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.6297, allocations: 62.38 kB / 376.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.63, allocations: 119.6 kB / 376.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.6302, allocations: 65.64 kB / 376.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6302, allocations: 0 / 376.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007307/0.631, allocations: 257.6 kB / 377.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.631, allocations: 7.594 kB / 377.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.631, allocations: 0 / 377.1 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.6316, allocations: 94.84 kB / 377.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.6319, allocations: 26.56 kB / 377.2 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.6356, allocations: 1.932 MB / 379.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.6361, allocations: 25.7 kB / 379.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.6362, allocations: 7.562 kB / 379.2 MB, free: 18.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.6364, allocations: 122.9 kB / 379.3 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.6365, allocations: 23.34 kB / 379.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.6366, allocations: 31.55 kB / 379.3 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.6367, allocations: 11.84 kB / 379.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6367, allocations: 0 / 379.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6367, allocations: 3.188 kB / 379.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.6383, allocations: 0.7106 MB / 380.1 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6383, allocations: 3.938 kB / 380.1 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.6386, allocations: 26.03 kB / 380.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.6391, allocations: 83.73 kB / 380.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.6391, allocations: 3.875 kB / 380.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.6425, allocations: 1.87 MB / 382 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6425, allocations: 0 / 382 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009313/0.6435, allocations: 437.3 kB / 382.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.6437, allocations: 120.8 kB / 382.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.6438, allocations: 11.05 kB / 382.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.6442, allocations: 18.38 kB / 382.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.6444, allocations: 33.05 kB / 382.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.6444, allocations: 14.56 kB / 382.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.6447, allocations: 154.3 kB / 382.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6447, allocations: 0 / 382.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007616/0.6454, allocations: 81.75 kB / 382.9 MB, free: 16.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/0.6469, allocations: 1.031 MB / 383.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.6479, allocations: 328.9 kB / 384.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6479, allocations: 0 / 384.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.6485, allocations: 239.1 kB / 384.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.6491, allocations: 47.41 kB / 384.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.6509, allocations: 448.6 kB / 385 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.6515, allocations: 0.7686 MB / 385.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.6517, allocations: 25.39 kB / 385.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.6519, allocations: 78.31 kB / 385.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6519, allocations: 3.938 kB / 385.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.7139, allocations: 5.941 MB / 391.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002313/0.7142, allocations: 154.8 kB / 391.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.433/4.147, allocations: 0 / 391.9 MB, free: 11.75 MB / 314.7 MB "" Variables in the reference:time,idealTriac.capacitor.v,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off Variables in the result:R.LossPower,R.R,R.R_actual,R.T,R.T_heatPort,R.T_ref,R.alpha,R.i,R.n.i,R.n.v,R.p.i,R.p.v,R.useHeatPort,R.v,V.V,V.freqHz,V.i,V.n.i,V.n.v,V.offset,V.p.i,V.p.v,V.phase,V.signalSource.amplitude,V.signalSource.freqHz,V.signalSource.offset,V.signalSource.phase,V.signalSource.startTime,V.signalSource.y,V.startTime,V.v,_D_whenCondition1,booleanPulse.Twidth,booleanPulse.period,booleanPulse.pulsStart,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,der(idealTriac.capacitor.v),ground.p.i,ground.p.v,idealTriac.Cdis,idealTriac.Goff,idealTriac.Rdis,idealTriac.Ron,idealTriac.Vknee,idealTriac.capacitor.C,idealTriac.capacitor.i,idealTriac.capacitor.n.i,idealTriac.capacitor.n.v,idealTriac.capacitor.p.i,idealTriac.capacitor.p.v,idealTriac.capacitor.v,idealTriac.fire1,idealTriac.idealThyristor.Goff,idealTriac.idealThyristor.LossPower,idealTriac.idealThyristor.Ron,idealTriac.idealThyristor.T,idealTriac.idealThyristor.T_heatPort,idealTriac.idealThyristor.Vknee,idealTriac.idealThyristor.fire,idealTriac.idealThyristor.i,idealTriac.idealThyristor.n.i,idealTriac.idealThyristor.n.v,idealTriac.idealThyristor.off,idealTriac.idealThyristor.p.i,idealTriac.idealThyristor.p.v,idealTriac.idealThyristor.s,idealTriac.idealThyristor.useHeatPort,idealTriac.idealThyristor.v,idealTriac.idealThyristor1.Goff,idealTriac.idealThyristor1.LossPower,idealTriac.idealThyristor1.Ron,idealTriac.idealThyristor1.T,idealTriac.idealThyristor1.T_heatPort,idealTriac.idealThyristor1.Vknee,idealTriac.idealThyristor1.fire,idealTriac.idealThyristor1.i,idealTriac.idealThyristor1.n.i,idealTriac.idealThyristor1.n.v,idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.p.i,idealTriac.idealThyristor1.p.v,idealTriac.idealThyristor1.s,idealTriac.idealThyristor1.useHeatPort,idealTriac.idealThyristor1.v,idealTriac.n.i,idealTriac.n.v,idealTriac.p.i,idealTriac.p.v,idealTriac.resistor.LossPower,idealTriac.resistor.R,idealTriac.resistor.R_actual,idealTriac.resistor.T,idealTriac.resistor.T_heatPort,idealTriac.resistor.T_ref,idealTriac.resistor.alpha,idealTriac.resistor.i,idealTriac.resistor.n.i,idealTriac.resistor.n.v,idealTriac.resistor.p.i,idealTriac.resistor.p.v,idealTriac.resistor.useHeatPort,idealTriac.resistor.v,time