Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.357/2.357, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.91e-05, allocations: 4.125 kB / 249.8 MB, free: 5.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.511/0.6296, allocations: 73.97 MB / 368.3 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.6299, allocations: 64.62 kB / 368.3 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.6659, allocations: 7.901 MB / 376.2 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.6659, allocations: 0 / 376.2 MB, free: 22.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.769e-05/0.666, allocations: 11.47 kB / 376.2 MB, free: 22.3 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001764/0.6678, allocations: 0.7212 MB / 377 MB, free: 21.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6679, allocations: 11.66 kB / 377 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.6681, allocations: 62.23 kB / 377 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.6687, allocations: 363.4 kB / 377.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.6688, allocations: 15.5 kB / 377.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.6689, allocations: 30.56 kB / 377.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008326/0.6697, allocations: 266.3 kB / 377.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.6708, allocations: 385.4 kB / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.6708, allocations: 0 / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.6709, allocations: 0 / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.6709, allocations: 15.61 kB / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.6751, allocations: 1.616 MB / 379.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.6757, allocations: 234.1 kB / 379.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.676, allocations: 129.2 kB / 380.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.676, allocations: 7.891 kB / 380.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.676, allocations: 37.59 kB / 380.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/0.6761, allocations: 4 kB / 380.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001932/0.678, allocations: 0.7113 MB / 380.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.6781, allocations: 80.95 kB / 380.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.6786, allocations: 304.9 kB / 381.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.6787, allocations: 29.7 kB / 381.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6789, allocations: 292.5 kB / 381.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.679, allocations: 108.8 kB / 381.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.679, allocations: 0 / 381.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6792, allocations: 349.4 kB / 382 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6795, allocations: 84.33 kB / 382 MB, free: 18.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.6798, allocations: 168.1 kB / 382.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.6801, allocations: 103.8 kB / 382.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6801, allocations: 3.969 kB / 382.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001781/0.6819, allocations: 380.4 kB / 382.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.682, allocations: 7.75 kB / 382.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.682, allocations: 3.844 kB / 382.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.6826, allocations: 82.75 kB / 382.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.6833, allocations: 81.44 kB / 382.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.6867, allocations: 2.731 MB / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.6874, allocations: 15.62 kB / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.6874, allocations: 16.88 kB / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.6876, allocations: 120.5 kB / 385.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008912/0.6885, allocations: 284 kB / 386 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6887, allocations: 39.02 kB / 386 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.6888, allocations: 43.67 kB / 386.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6888, allocations: 4.062 kB / 386.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.6889, allocations: 0 / 386.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6889, allocations: 3.938 kB / 386.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.6909, allocations: 0.8263 MB / 386.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6909, allocations: 0 / 386.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.6913, allocations: 54.77 kB / 387 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.6919, allocations: 86.34 kB / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.6919, allocations: 0 / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.6952, allocations: 2.745 MB / 389.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6953, allocations: 3.984 kB / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.6966, allocations: 0.5632 MB / 390.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6968, allocations: 118.5 kB / 390.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6969, allocations: 4.859 kB / 390.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.6976, allocations: 31.11 kB / 390.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.6977, allocations: 23.47 kB / 390.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.6977, allocations: 9.953 kB / 390.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004426/0.6982, allocations: 234.8 kB / 390.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6982, allocations: 0 / 390.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001109/0.6993, allocations: 104.9 kB / 390.9 MB, free: 12.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.701, allocations: 1.183 MB / 392.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.7022, allocations: 474.9 kB / 392.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7023, allocations: 3.844 kB / 392.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009165/0.7032, allocations: 349.6 kB / 392.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.7039, allocations: 38.05 kB / 392.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.7065, allocations: 0.778 MB / 393.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.7071, allocations: 0.852 MB / 394.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00036/0.7075, allocations: 42.64 kB / 394.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.7078, allocations: 162.8 kB / 394.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7078, allocations: 0 / 394.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/0.7705, allocations: 6.92 MB / 401.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003354/0.7709, allocations: 153.3 kB / 401.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.371/4.142, allocations: 0 / 401.8 MB, free: 5.953 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat