Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.473/2.473, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.413e-05, allocations: 4.125 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5639, allocations: 72.22 MB / 366.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5643, allocations: 63.97 kB / 366.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.5763, allocations: 2.628 MB / 369.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5764, allocations: 0 / 369.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.5764, allocations: 3.969 kB / 369.2 MB, free: 22.66 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006162/0.577, allocations: 410.3 kB / 369.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5771, allocations: 11.62 kB / 369.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.5772, allocations: 15.53 kB / 369.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.5775, allocations: 202.6 kB / 369.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5775, allocations: 7.047 kB / 369.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.5776, allocations: 7.625 kB / 369.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002367/0.5778, allocations: 63.75 kB / 369.9 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.5781, allocations: 94.44 kB / 370 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5781, allocations: 0 / 370 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.5782, allocations: 0 / 370 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.5782, allocations: 3.875 kB / 370 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5794, allocations: 499.9 kB / 370.5 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.5799, allocations: 85.03 kB / 370.6 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.58, allocations: 23.36 kB / 370.6 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.58, allocations: 0 / 370.6 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.58, allocations: 37.42 kB / 370.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.58, allocations: 0 / 370.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004697/0.5805, allocations: 101.6 kB / 370.7 MB, free: 21.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5806, allocations: 56.69 kB / 370.8 MB, free: 21.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.5807, allocations: 135.8 kB / 370.9 MB, free: 21.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.5808, allocations: 25.7 kB / 370.9 MB, free: 21.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.5808, allocations: 120.6 kB / 371.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5809, allocations: 20.81 kB / 371.1 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.5809, allocations: 0 / 371.1 MB, free: 21.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.581, allocations: 322.5 kB / 371.4 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.581, allocations: 12.12 kB / 371.4 MB, free: 20.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.5811, allocations: 42.5 kB / 371.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.5812, allocations: 19.08 kB / 371.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5812, allocations: 0 / 371.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003873/0.5816, allocations: 121.1 kB / 371.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5817, allocations: 6.531 kB / 371.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5817, allocations: 0 / 371.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.582, allocations: 41.11 kB / 371.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5821, allocations: 16.2 kB / 371.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.584, allocations: 1.443 MB / 373.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.5842, allocations: 15.41 kB / 373.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5842, allocations: 2.531 kB / 373.1 MB, free: 19.55 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 (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5844, allocations: 111.9 kB / 373.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003629/0.5847, allocations: 110.1 kB / 373.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.5848, allocations: 8.875 kB / 373.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.5848, allocations: 11.45 kB / 373.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5849, allocations: 1.281 kB / 373.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5849, allocations: 1.312 kB / 373.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5849, allocations: 0 / 373.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.5852, allocations: 184.2 kB / 373.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5852, allocations: 1.281 kB / 373.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.5853, allocations: 6.594 kB / 373.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.5855, allocations: 41.42 kB / 373.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5856, allocations: 0 / 373.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.5873, allocations: 1.446 MB / 375 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5873, allocations: 3.984 kB / 375 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.5878, allocations: 199.8 kB / 375.2 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5878, allocations: 87.39 kB / 375.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.5879, allocations: 3.875 kB / 375.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.5881, allocations: 11.78 kB / 375.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.5882, allocations: 6.906 kB / 375.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5882, allocations: 3.953 kB / 375.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.5883, allocations: 104.4 kB / 375.4 MB, free: 17.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5883, allocations: 0 / 375.4 MB, free: 17.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006516/0.589, allocations: 37.97 kB / 375.5 MB, free: 17.55 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000728/0.5897, allocations: 0.7354 MB / 376.2 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.5902, allocations: 172.9 kB / 376.4 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5902, allocations: 0 / 376.4 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.5904, allocations: 144.2 kB / 376.5 MB, free: 16.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.5908, allocations: 10.17 kB / 376.5 MB, free: 16.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.5915, allocations: 170 kB / 376.7 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5918, allocations: 0.7164 MB / 377.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.5919, allocations: 3.297 kB / 377.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.592, allocations: 31.03 kB / 377.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.592, allocations: 3.938 kB / 377.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.6386, allocations: 2.154 MB / 379.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002205/0.6389, allocations: 147.9 kB / 379.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.096/3.735, allocations: 3.938 kB / 379.8 MB, free: 15.46 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat