Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.968e-05, allocations: 11.98 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 47.59 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.583, allocations: 77.35 MB / 394.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5833, allocations: 67.34 kB / 394.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02137/0.6047, allocations: 4.889 MB / 399.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6048, allocations: 0 / 399.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.6048, allocations: 8 kB / 399.3 MB, free: 6.395 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001215/0.606, allocations: 0.5662 MB / 399.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6061, allocations: 8.031 kB / 399.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.565e-05/0.6062, allocations: 57.67 kB / 400 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.6063, allocations: 39.53 kB / 400 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.6067, allocations: 271.6 kB / 400.3 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.6068, allocations: 31.27 kB / 400.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.6069, allocations: 23.12 kB / 400.3 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.6075, allocations: 234.9 kB / 400.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.6075, allocations: 0 / 400.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.6076, allocations: 10.62 kB / 400.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6076, allocations: 4 kB / 400.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.6081, allocations: 176.2 kB / 400.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.6108, allocations: 0.9924 MB / 401.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.6114, allocations: 198.1 kB / 401.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.6117, allocations: 102.1 kB / 402 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6118, allocations: 4.188 kB / 402 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6118, allocations: 37.31 kB / 402.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.116e-06/0.6118, allocations: 0 / 402.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007966/0.6126, allocations: 242.3 kB / 402.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.6127, allocations: 55.34 kB / 402.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.613, allocations: 230.3 kB / 402.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.6131, allocations: 32.83 kB / 402.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6132, allocations: 183.2 kB / 402.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.6133, allocations: 80.45 kB / 402.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.6133, allocations: 7 kB / 402.9 MB, free: 3.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6135, allocations: 331.9 kB / 403.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.6137, allocations: 64.03 kB / 403.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.6139, allocations: 85.08 kB / 403.4 MB, free: 2.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.6141, allocations: 65.3 kB / 403.4 MB, free: 2.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6141, allocations: 3.953 kB / 403.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007514/0.6149, allocations: 285.5 kB / 403.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6149, allocations: 4 kB / 403.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6149, allocations: 0 / 403.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.6153, allocations: 76.98 kB / 403.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.6157, allocations: 47.89 kB / 403.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.6187, allocations: 2.817 MB / 406.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.6192, allocations: 35.58 kB / 406.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.6192, allocations: 8 kB / 406.7 MB, free: 15.53 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6194, allocations: 117 kB / 406.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.6195, allocations: 23.72 kB / 406.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.6196, allocations: 37.39 kB / 406.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.6196, allocations: 0 / 406.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6196, allocations: 4 kB / 406.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6196, allocations: 0 / 406.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.6209, allocations: 0.6451 MB / 407.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6209, allocations: 0 / 407.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.6212, allocations: 36.16 kB / 407.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.6215, allocations: 76.88 kB / 407.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.6216, allocations: 7.922 kB / 407.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.6244, allocations: 2.815 MB / 410.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6245, allocations: 0 / 410.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.6252, allocations: 349.1 kB / 410.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6254, allocations: 104.6 kB / 410.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.6254, allocations: 0 / 410.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.6259, allocations: 39.91 kB / 410.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.626, allocations: 23.84 kB / 410.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.626, allocations: 8 kB / 411 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.6263, allocations: 185.4 kB / 411.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.405e-06/0.6263, allocations: 0 / 411.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.6269, allocations: 91.66 kB / 411.2 MB, free: 11.07 MB / 330.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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.6281, allocations: 0.8907 MB / 412.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.6291, allocations: 388.5 kB / 412.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6292, allocations: 0 / 412.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.6297, allocations: 321.8 kB / 412.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.6303, allocations: 51.97 kB / 412.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.6314, allocations: 379.6 kB / 413.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.6319, allocations: 0.7755 MB / 414 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000212/0.6321, allocations: 22.06 kB / 414 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6323, allocations: 87.66 kB / 414.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.093e-06/0.6323, allocations: 0 / 414.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.6625, allocations: 5.615 MB / 419.7 MB, free: 2.785 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/0.6628, allocations: 181.6 kB / 419.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.35, allocations: 0 / 419.9 MB, free: 2.559 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat