Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.608e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09665, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.56, allocations: 72.62 MB / 372.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5604, allocations: 69.72 kB / 372.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.5833, allocations: 5.435 MB / 378.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5833, allocations: 0 / 378.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5834, allocations: 11.41 kB / 378.1 MB, free: 11.8 MB / 314.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.001244/0.5846, allocations: 0.5885 MB / 378.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5847, allocations: 9.938 kB / 378.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5848, allocations: 81.73 kB / 378.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.5849, allocations: 45.67 kB / 378.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.5853, allocations: 272.2 kB / 379.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.5854, allocations: 36.19 kB / 379.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.5855, allocations: 49.39 kB / 379.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.5864, allocations: 420.3 kB / 379.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5864, allocations: 4.562 kB / 379.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.5865, allocations: 15.03 kB / 379.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5865, allocations: 15.64 kB / 379.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.5873, allocations: 263.9 kB / 379.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.59, allocations: 1.319 MB / 381.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.5907, allocations: 233.3 kB / 381.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.5912, allocations: 199.2 kB / 381.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.5912, allocations: 3.344 kB / 381.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5913, allocations: 37.16 kB / 381.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.685e-06/0.5913, allocations: 0 / 381.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008611/0.5922, allocations: 277 kB / 381.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.5922, allocations: 235.7 kB / 382.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.5925, allocations: 187.2 kB / 382.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.5926, allocations: 31.73 kB / 382.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.5927, allocations: 209.8 kB / 382.6 MB, free: 9.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.5928, allocations: 101.3 kB / 382.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.5928, allocations: 5.156 kB / 382.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.5929, allocations: 338.1 kB / 383 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.5931, allocations: 65.39 kB / 383.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5934, allocations: 153 kB / 383.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.5936, allocations: 86.61 kB / 383.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5936, allocations: 0 / 383.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005745/0.5942, allocations: 262.2 kB / 383.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5942, allocations: 5.656 kB / 383.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5943, allocations: 0 / 383.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5943, allocations: 2.5 kB / 383.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5949, allocations: 83.66 kB / 383.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.595, allocations: 6.531 kB / 383.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.5953, allocations: 32.73 kB / 383.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.5953, allocations: 10.25 kB / 383.7 MB, free: 9.094 MB / 314.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 9.575e-05/0.5954, allocations: 130.2 kB / 383.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.5955, allocations: 24.12 kB / 383.9 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.198e-05/0.5956, allocations: 34.22 kB / 383.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5956, allocations: 1.781 kB / 383.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5956, allocations: 1.906 kB / 383.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5957, allocations: 3.391 kB / 383.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.5972, allocations: 0.7722 MB / 384.7 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5972, allocations: 0 / 384.7 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.5977, allocations: 61.62 kB / 384.7 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.5982, allocations: 91.34 kB / 384.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.5982, allocations: 8.078 kB / 384.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.6005, allocations: 1.814 MB / 386.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6005, allocations: 1.438 kB / 386.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.6016, allocations: 0.4983 MB / 387.2 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.6016, allocations: 103.2 kB / 387.3 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.6017, allocations: 14.39 kB / 387.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.602, allocations: 14.38 kB / 387.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.6021, allocations: 22.52 kB / 387.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.6021, allocations: 5.625 kB / 387.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.6023, allocations: 155.2 kB / 387.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6023, allocations: 1.219 kB / 387.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005911/0.6029, allocations: 113.1 kB / 387.6 MB, free: 6.863 MB / 314.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.001262/0.6042, allocations: 1.107 MB / 388.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.6048, allocations: 193.7 kB / 388.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.6048, allocations: 1.219 kB / 388.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007417/0.6055, allocations: 248.8 kB / 389.1 MB, free: 21.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6059, allocations: 20.48 kB / 389.1 MB, free: 21.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.6078, allocations: 0.7617 MB / 389.9 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.6082, allocations: 0.7938 MB / 390.7 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.6084, allocations: 27.42 kB / 390.7 MB, free: 20.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.6086, allocations: 103.4 kB / 390.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.6086, allocations: 0 / 390.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.6417, allocations: 5.095 MB / 395.9 MB, free: 20.28 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.642, allocations: 169.6 kB / 396.1 MB, free: 20.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.412, allocations: 7.938 kB / 396.1 MB, free: 20.05 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat