Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.257/2.257, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.634e-05, allocations: 4.125 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.6092, allocations: 73.16 MB / 367.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.6096, allocations: 70.8 kB / 367.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02001/0.6296, allocations: 3.926 MB / 371.4 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6297, allocations: 3.938 kB / 371.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.6297, allocations: 3.875 kB / 371.4 MB, free: 22.55 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001035/0.6307, allocations: 486.8 kB / 371.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6308, allocations: 11.53 kB / 371.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.6309, allocations: 29.45 kB / 372 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.6313, allocations: 231.1 kB / 372.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6313, allocations: 7.75 kB / 372.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.6314, allocations: 11.66 kB / 372.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004518/0.6318, allocations: 133.6 kB / 372.3 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.6324, allocations: 181.3 kB / 372.5 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6324, allocations: 4 kB / 372.5 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.6325, allocations: 3.641 kB / 372.5 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6325, allocations: 5.188 kB / 372.5 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.6345, allocations: 0.7952 MB / 373.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.6349, allocations: 136.2 kB / 373.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.6352, allocations: 83.33 kB / 373.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.6353, allocations: 7.406 kB / 373.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6353, allocations: 42.36 kB / 373.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.567e-06/0.6353, allocations: 0 / 373.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009895/0.6363, allocations: 195.8 kB / 373.8 MB, free: 21.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.6364, allocations: 55.19 kB / 373.8 MB, free: 21.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6365, allocations: 154.7 kB / 374 MB, free: 21.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6366, allocations: 25.7 kB / 374 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.6367, allocations: 152.6 kB / 374.2 MB, free: 20.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.6368, allocations: 55.67 kB / 374.2 MB, free: 20.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.6368, allocations: 0 / 374.2 MB, free: 20.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6369, allocations: 331.6 kB / 374.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.6371, allocations: 40.53 kB / 374.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.6372, allocations: 72.38 kB / 374.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.6376, allocations: 62.12 kB / 374.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6376, allocations: 2.203 kB / 374.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000849/0.6385, allocations: 216.3 kB / 374.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6385, allocations: 5.969 kB / 374.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6385, allocations: 3.172 kB / 374.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.6396, allocations: 111.1 kB / 375 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.6399, allocations: 36.64 kB / 375.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009777/0.6409, allocations: 0.6359 MB / 375.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.6412, allocations: 15.53 kB / 375.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.6413, allocations: 10.33 kB / 375.7 MB, free: 19.97 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.6415, allocations: 116.4 kB / 375.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009316/0.6424, allocations: 203.5 kB / 376 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.6425, allocations: 15.47 kB / 376.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.6433, allocations: 210.7 kB / 376.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.6433, allocations: 0 / 376.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.6433, allocations: 0 / 376.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6433, allocations: 3.094 kB / 376.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6448, allocations: 0.5505 MB / 376.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6448, allocations: 0 / 376.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.6451, allocations: 35.02 kB / 376.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009836/0.6461, allocations: 115 kB / 377 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.6462, allocations: 3.75 kB / 377 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009137/0.6471, allocations: 0.6383 MB / 377.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6471, allocations: 4.062 kB / 377.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.6482, allocations: 387.1 kB / 378 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.6484, allocations: 110.4 kB / 378.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.6485, allocations: 64 / 378.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.6488, allocations: 14.86 kB / 378.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.6489, allocations: 10.86 kB / 378.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.6489, allocations: 11.67 kB / 378.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.6491, allocations: 121.9 kB / 378.3 MB, free: 18.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6491, allocations: 0 / 378.3 MB, free: 18.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005444/0.6496, allocations: 57.94 kB / 378.3 MB, free: 18.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/0.6513, allocations: 0.9986 MB / 379.3 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.6519, allocations: 131.2 kB / 379.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6519, allocations: 3.906 kB / 379.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.6521, allocations: 67.84 kB / 379.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6526, allocations: 22.38 kB / 379.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.6541, allocations: 421.5 kB / 379.9 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.6546, allocations: 0.7445 MB / 380.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.6547, allocations: 11.67 kB / 380.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6549, allocations: 63.52 kB / 380.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6549, allocations: 4 kB / 380.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05235/0.7073, allocations: 3.71 MB / 384.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003404/0.7077, allocations: 143.1 kB / 384.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.209/3.917, allocations: 3.938 kB / 384.6 MB, free: 15.54 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat