Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.455e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 38.76 MB / 263.8 MB, free: 9.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.405, allocations: 67.41 MB / 331.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4054, allocations: 67.97 kB / 331.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02364/0.429, allocations: 5.51 MB / 336.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4291, allocations: 0 / 336.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.4291, allocations: 8 kB / 336.8 MB, free: 0.7383 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.001345/0.4305, allocations: 0.6037 MB / 337.4 MB, free: 88 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4305, allocations: 12.03 kB / 337.4 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.4307, allocations: 74.61 kB / 337.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4308, allocations: 43.53 kB / 337.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.4312, allocations: 274.4 kB / 337.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.4313, allocations: 29 kB / 337.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4314, allocations: 44 kB / 337.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4325, allocations: 435.2 kB / 338.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.4325, allocations: 3.906 kB / 338.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.4326, allocations: 20 kB / 338.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4326, allocations: 12 kB / 338.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.4334, allocations: 260 kB / 338.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.4365, allocations: 1.326 MB / 339.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.4372, allocations: 238 kB / 340.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.4377, allocations: 185.2 kB / 340.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.4378, allocations: 8 kB / 340.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.4378, allocations: 42.56 kB / 340.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/0.4379, allocations: 0 / 340.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009449/0.4388, allocations: 282 kB / 340.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.439, allocations: 239.3 kB / 340.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.4393, allocations: 186 kB / 341.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.4393, allocations: 29.7 kB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4395, allocations: 262.7 kB / 341.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4397, allocations: 102.5 kB / 341.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4397, allocations: 8 kB / 341.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4399, allocations: 322.8 kB / 341.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4401, allocations: 68 kB / 341.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.4404, allocations: 160 kB / 342 MB, free: 11.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4407, allocations: 79.97 kB / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4407, allocations: 0 / 342.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006504/0.4414, allocations: 245.2 kB / 342.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4414, allocations: 11.95 kB / 342.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4414, allocations: 64 / 342.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4415, allocations: 8 kB / 342.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.4422, allocations: 79.89 kB / 342.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4422, allocations: 4 kB / 342.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4425, allocations: 31.69 kB / 342.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.4425, allocations: 4 kB / 342.5 MB, free: 10.72 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.4427, allocations: 129.8 kB / 342.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.4428, allocations: 23.72 kB / 342.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4429, allocations: 42.72 kB / 342.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4429, allocations: 4 kB / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.443, allocations: 4 kB / 342.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.443, allocations: 7.922 kB / 342.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.4447, allocations: 0.7726 MB / 343.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4447, allocations: 4 kB / 343.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.4452, allocations: 47.97 kB / 343.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.4457, allocations: 88.84 kB / 343.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.4458, allocations: 11.98 kB / 343.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.4486, allocations: 1.808 MB / 345.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.4487, allocations: 3.984 kB / 345.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4499, allocations: 0.499 MB / 345.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.4501, allocations: 120.8 kB / 346 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.4501, allocations: 8 kB / 346 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4505, allocations: 15.98 kB / 346.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.4506, allocations: 27.91 kB / 346.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.4506, allocations: 7.953 kB / 346.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.4508, allocations: 156.2 kB / 346.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4508, allocations: 8 kB / 346.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.4514, allocations: 103.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.001575/0.453, allocations: 1.113 MB / 347.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.4536, allocations: 199.8 kB / 347.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4536, allocations: 3.938 kB / 347.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.4542, allocations: 262.2 kB / 347.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4545, allocations: 23.91 kB / 347.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.4565, allocations: 0.7854 MB / 348.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.4571, allocations: 0.7989 MB / 349.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.4573, allocations: 103.4 kB / 349.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4573, allocations: 0 / 349.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.684/3.142, allocations: 5.233 MB / 354.9 MB, free: 13.95 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat