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.869/1.869, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.805e-05, allocations: 8 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.261, allocations: 38.76 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.4147, allocations: 66.75 MB / 325.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4151, allocations: 67.97 kB / 325.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03198/0.4471, allocations: 5.448 MB / 330.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4472, allocations: 0 / 330.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.4472, allocations: 8 kB / 330.6 MB, free: 5.488 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.001804/0.449, allocations: 0.6001 MB / 331.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.4491, allocations: 8.031 kB / 331.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.4493, allocations: 43.53 kB / 331.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.45, allocations: 282.4 kB / 331.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.4501, allocations: 12 kB / 331.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.4502, allocations: 28 kB / 331.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001039/0.4513, allocations: 234.6 kB / 331.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4526, allocations: 377.4 kB / 332.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.4527, allocations: 3.906 kB / 332.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.4527, allocations: 0 / 332.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.4528, allocations: 12 kB / 332.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.4572, allocations: 1.236 MB / 333.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.458, allocations: 224 kB / 333.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.4587, allocations: 176.7 kB / 333.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.4588, allocations: 4.5 kB / 333.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.4588, allocations: 38.55 kB / 333.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 6.703e-06/0.4588, allocations: 4 kB / 333.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.00128/0.4601, allocations: 266 kB / 334.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.4603, allocations: 235.3 kB / 334.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.4607, allocations: 154.6 kB / 334.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.4608, allocations: 25.7 kB / 334.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.461, allocations: 200.1 kB / 334.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.4612, allocations: 110.4 kB / 334.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.4612, allocations: 0 / 334.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.4615, allocations: 334.8 kB / 335.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.4617, allocations: 60 kB / 335.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.4621, allocations: 136.3 kB / 335.4 MB, free: 408 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.4625, allocations: 91.02 kB / 335.4 MB, free: 320 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4625, allocations: 0 / 335.4 MB, free: 320 kB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008987/0.4635, allocations: 233.2 kB / 335.7 MB, free: 80 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4635, allocations: 4 kB / 335.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4635, allocations: 4 kB / 335.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.4636, allocations: 0 / 335.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.4646, allocations: 83.84 kB / 335.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.4646, allocations: 4 kB / 335.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.4651, allocations: 19.91 kB / 335.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.4652, allocations: 12 kB / 335.8 MB, free: 15.95 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.000189/0.4654, allocations: 106.3 kB / 335.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001111/0.4665, allocations: 262 kB / 336.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.4666, allocations: 23.77 kB / 336.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.4668, allocations: 23.41 kB / 336.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4668, allocations: 7.984 kB / 336.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4668, allocations: 7.938 kB / 336.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4669, allocations: 0 / 336.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4691, allocations: 0.6913 MB / 336.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4691, allocations: 0 / 336.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.4698, allocations: 47.97 kB / 337 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.4705, allocations: 84.84 kB / 337 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.4706, allocations: 8 kB / 337 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.4744, allocations: 1.752 MB / 338.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.4745, allocations: 0 / 338.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4757, allocations: 475.5 kB / 339.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.476, allocations: 124.9 kB / 339.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.4761, allocations: 0 / 339.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.4765, allocations: 8 kB / 339.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4767, allocations: 23.92 kB / 339.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.4767, allocations: 15.98 kB / 339.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4769, allocations: 120.1 kB / 339.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4769, allocations: 0 / 339.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008816/0.4778, allocations: 99.53 kB / 339.6 MB, free: 11.88 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.002063/0.4799, allocations: 1.076 MB / 340.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007293/0.4807, allocations: 187.8 kB / 340.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.4807, allocations: 8.109 kB / 340.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.4815, allocations: 241.7 kB / 341.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4819, allocations: 19.72 kB / 341.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.4848, allocations: 0.731 MB / 341.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.4855, allocations: 0.795 MB / 342.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.4857, allocations: 18.08 kB / 342.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.4861, allocations: 103.4 kB / 342.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4861, allocations: 4 kB / 342.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.536, allocations: 4.464 MB / 347.3 MB, free: 4.148 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.5363, allocations: 140.6 kB / 347.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.201, allocations: 0 / 347.4 MB, free: 3.957 MB / 298.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