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.723/1.723, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.039e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.3959, allocations: 67.42 MB / 331.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3962, allocations: 71.95 kB / 331.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.025/0.4212, allocations: 5.504 MB / 336.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4213, allocations: 4 kB / 336.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.4213, allocations: 8 kB / 336.9 MB, free: 0.6914 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.001434/0.4228, allocations: 0.6037 MB / 337.5 MB, free: 40 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4229, allocations: 11.97 kB / 337.5 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.423, allocations: 74.53 kB / 337.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4232, allocations: 43.53 kB / 337.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.4237, allocations: 270.5 kB / 337.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.4237, allocations: 33 kB / 337.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4239, allocations: 44 kB / 338 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.425, allocations: 425.3 kB / 338.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.4251, allocations: 3.906 kB / 338.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.4252, allocations: 20 kB / 338.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4252, allocations: 8 kB / 338.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.426, allocations: 258 kB / 338.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.4291, allocations: 1.322 MB / 340 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.4298, allocations: 237.7 kB / 340.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.4304, allocations: 188.8 kB / 340.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.4304, allocations: 4.438 kB / 340.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4305, allocations: 38.56 kB / 340.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.4305, allocations: 7.938 kB / 340.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009544/0.4315, allocations: 286 kB / 340.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.4316, allocations: 239.3 kB / 341 MB, free: 12.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.4319, allocations: 186 kB / 341.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.432, allocations: 29.7 kB / 341.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.4321, allocations: 200.2 kB / 341.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.4323, allocations: 102.5 kB / 341.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.4323, allocations: 8 kB / 341.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4325, allocations: 338.8 kB / 341.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4327, allocations: 64 kB / 341.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.433, allocations: 152 kB / 342 MB, free: 11.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4333, allocations: 91.33 kB / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4333, allocations: 4 kB / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000683/0.434, allocations: 253 kB / 342.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.434, allocations: 7.953 kB / 342.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.434, allocations: 3.984 kB / 342.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4341, allocations: 4 kB / 342.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.4347, allocations: 83.97 kB / 342.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.4348, allocations: 3.984 kB / 342.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.4351, allocations: 31.69 kB / 342.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.4352, allocations: 12.08 kB / 342.5 MB, free: 10.71 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.0001437/0.4353, allocations: 121.6 kB / 342.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.4354, allocations: 23.72 kB / 342.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.4355, allocations: 42.7 kB / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4355, allocations: 4 kB / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4356, allocations: 4 kB / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4356, allocations: 0 / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.4373, allocations: 0.7689 MB / 343.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4374, allocations: 3.938 kB / 343.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.4379, allocations: 51.91 kB / 343.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/0.4384, allocations: 84.81 kB / 343.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.4385, allocations: 8.031 kB / 343.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.4414, allocations: 1.823 MB / 345.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.4415, allocations: 4 kB / 345.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.4427, allocations: 0.4911 MB / 345.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.443, allocations: 117 kB / 346 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.4431, allocations: 15.94 kB / 346 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.4436, allocations: 16.12 kB / 346.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4437, allocations: 23.95 kB / 346.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4437, allocations: 11.95 kB / 346.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.4439, allocations: 152.2 kB / 346.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.444, allocations: 3.938 kB / 346.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005915/0.4446, allocations: 111.6 kB / 346.4 MB, free: 6.59 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.001549/0.4461, allocations: 1.105 MB / 347.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.4467, allocations: 191.9 kB / 347.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4467, allocations: 8.062 kB / 347.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.4473, allocations: 253.6 kB / 347.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4476, allocations: 27.89 kB / 347.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.4496, allocations: 0.76 MB / 348.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.4501, allocations: 0.795 MB / 349.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.4502, allocations: 22.06 kB / 349.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4505, allocations: 99.41 kB / 349.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4505, allocations: 4 kB / 349.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4818, allocations: 5.095 MB / 354.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/0.4822, allocations: 168.5 kB / 354.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.05, allocations: 0 / 354.9 MB, free: 13.98 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