Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.342e-05, allocations: 8 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4096, allocations: 69.08 MB / 327.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4099, allocations: 63.97 kB / 327.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03547/0.4454, allocations: 8.097 MB / 335.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4454, allocations: 0 / 335.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.4455, allocations: 19.98 kB / 335.6 MB, free: 496 kB / 282.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.00166/0.4471, allocations: 0.7169 MB / 336.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4472, allocations: 8.031 kB / 336.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4474, allocations: 67.19 kB / 336.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.4481, allocations: 355.5 kB / 336.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4481, allocations: 16 kB / 336.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.4482, allocations: 39.84 kB / 336.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008144/0.4491, allocations: 270.6 kB / 337.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.4501, allocations: 384.8 kB / 337.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.4501, allocations: 0 / 337.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.4502, allocations: 4 kB / 337.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.4502, allocations: 12 kB / 337.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.4541, allocations: 1.617 MB / 339.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.4547, allocations: 237.1 kB / 339.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.455, allocations: 122.2 kB / 339.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.4551, allocations: 7.984 kB / 339.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4551, allocations: 38.5 kB / 339.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.4551, allocations: 0 / 339.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001876/0.457, allocations: 0.7144 MB / 340.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4571, allocations: 81.11 kB / 340.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.4576, allocations: 310.2 kB / 340.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.4576, allocations: 29.7 kB / 340.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.4579, allocations: 287.4 kB / 340.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.458, allocations: 106.4 kB / 341 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.4581, allocations: 4 kB / 341 MB, free: 10.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4582, allocations: 346.8 kB / 341.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.4585, allocations: 76.88 kB / 341.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.4588, allocations: 177.9 kB / 341.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.4592, allocations: 96.86 kB / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4592, allocations: 4 kB / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001094/0.4603, allocations: 388.2 kB / 342 MB, free: 9.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4603, allocations: 8.312 kB / 342.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4603, allocations: 8 kB / 342.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.4608, allocations: 81.59 kB / 342.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.4614, allocations: 87.86 kB / 342.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.4647, allocations: 2.735 MB / 345 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.4653, allocations: 11.98 kB / 345 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.4653, allocations: 16 kB / 345 MB, free: 6.496 MB / 298.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.0001549/0.4655, allocations: 116.8 kB / 345.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008483/0.4664, allocations: 289.4 kB / 345.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4665, allocations: 39.53 kB / 345.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.4666, allocations: 51.19 kB / 345.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4667, allocations: 8 kB / 345.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4667, allocations: 0 / 345.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4667, allocations: 0 / 345.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.4685, allocations: 0.8196 MB / 346.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4686, allocations: 0 / 346.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.4689, allocations: 51.91 kB / 346.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.4694, allocations: 77.66 kB / 346.4 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.4694, allocations: 7.922 kB / 346.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.4725, allocations: 2.739 MB / 349.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.4725, allocations: 4.031 kB / 349.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4738, allocations: 0.5599 MB / 349.7 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.474, allocations: 136.6 kB / 349.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.4741, allocations: 4 kB / 349.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.4747, allocations: 31.97 kB / 349.9 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4748, allocations: 31.92 kB / 349.9 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.4749, allocations: 15.98 kB / 350 MB, free: 1.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004236/0.4753, allocations: 236.6 kB / 350.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4753, allocations: 0 / 350.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008868/0.4762, allocations: 100 kB / 350.3 MB, free: 0.8359 MB / 298.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.001654/0.4779, allocations: 1.179 MB / 351.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.479, allocations: 467.2 kB / 351.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.479, allocations: 0 / 351.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.4799, allocations: 359.9 kB / 352.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.4804, allocations: 41.22 kB / 352.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.4829, allocations: 0.787 MB / 353.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.4834, allocations: 0.847 MB / 353.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.4837, allocations: 43.25 kB / 354 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.4841, allocations: 171.4 kB / 354.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4841, allocations: 0 / 354.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.061/0.5451, allocations: 6.923 MB / 361.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.5454, allocations: 152 kB / 361.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.017, allocations: 0 / 361.2 MB, free: 5.715 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat