Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.06e-05, allocations: 0 / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2677, allocations: 38.77 MB / 263.8 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.4193, allocations: 67.42 MB / 331.3 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4197, allocations: 67.95 kB / 331.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02778/0.4475, allocations: 5.508 MB / 336.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.4475, allocations: 0 / 336.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-05/0.4476, allocations: 8 kB / 336.9 MB, free: 0.6055 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002265/0.4499, allocations: 0.592 MB / 337.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.983e-05/0.45, allocations: 12.03 kB / 337.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.4503, allocations: 82.52 kB / 337.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.4506, allocations: 43.53 kB / 337.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000775/0.4514, allocations: 270.4 kB / 337.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.4515, allocations: 37 kB / 337.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4517, allocations: 43.98 kB / 337.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4534, allocations: 427.4 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.4535, allocations: 3.906 kB / 338.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.4536, allocations: 16 kB / 338.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.4536, allocations: 16 kB / 338.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.455, allocations: 264 kB / 338.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003746/0.4588, allocations: 1.326 MB / 340 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.4595, allocations: 243.4 kB / 340.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.4602, allocations: 185.3 kB / 340.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.4602, allocations: 4 kB / 340.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.4603, allocations: 46.56 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.787e-06/0.4603, allocations: 0 / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009976/0.4613, allocations: 282 kB / 340.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4615, allocations: 239.3 kB / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.4618, allocations: 186 kB / 341.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.4618, allocations: 29.7 kB / 341.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.462, allocations: 204.2 kB / 341.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4622, allocations: 110.4 kB / 341.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.4622, allocations: 4 kB / 341.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4624, allocations: 334.8 kB / 341.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.4626, allocations: 68 kB / 341.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4629, allocations: 152.1 kB / 342 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.4632, allocations: 87.16 kB / 342.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4632, allocations: 0 / 342.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006793/0.4639, allocations: 265 kB / 342.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.4639, allocations: 7.953 kB / 342.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4639, allocations: 4 kB / 342.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.464, allocations: 0 / 342.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.4647, allocations: 79.89 kB / 342.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4647, allocations: 4 kB / 342.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.465, allocations: 35.67 kB / 342.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4651, allocations: 8 kB / 342.5 MB, free: 10.61 MB / 298.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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4652, allocations: 129 kB / 342.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.4653, allocations: 23.72 kB / 342.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4654, allocations: 34.72 kB / 342.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4654, allocations: 4 kB / 342.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4655, allocations: 0 / 342.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4655, allocations: 0 / 342.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.4671, allocations: 0.7688 MB / 343.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.4672, allocations: 3.984 kB / 343.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.4677, allocations: 59.94 kB / 343.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/0.4682, allocations: 84.81 kB / 343.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4683, allocations: 4 kB / 343.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.471, allocations: 1.82 MB / 345.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.471, allocations: 80 / 345.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4722, allocations: 0.4912 MB / 345.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4724, allocations: 124.8 kB / 346 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.4725, allocations: 8 kB / 346 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.4728, allocations: 16.11 kB / 346 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.4729, allocations: 15.97 kB / 346.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.4729, allocations: 19.95 kB / 346.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4731, allocations: 156.2 kB / 346.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4731, allocations: 0 / 346.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.4737, allocations: 107.7 kB / 346.3 MB, free: 6.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.4752, allocations: 1.117 MB / 347.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005768/0.4758, allocations: 200.1 kB / 347.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.4758, allocations: 0 / 347.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.4764, allocations: 266.2 kB / 347.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.4767, allocations: 34.62 kB / 347.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4787, allocations: 0.7599 MB / 348.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.4791, allocations: 0.795 MB / 349.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.4793, allocations: 26.06 kB / 349.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.4795, allocations: 99.41 kB / 349.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4795, allocations: 0 / 349.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5083, allocations: 5.117 MB / 354.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.5087, allocations: 177.8 kB / 354.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.094, allocations: 0 / 354.9 MB, free: 13.83 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat