Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.684e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5459/0.6622, allocations: 78.47 MB / 421.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.6625, allocations: 66.28 kB / 421.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02716/0.6897, allocations: 5.801 MB / 427 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6898, allocations: 4 kB / 427 MB, free: 10.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.6898, allocations: 8 kB / 427 MB, free: 10.36 MB / 346.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.001503/0.6913, allocations: 0.5826 MB / 427.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.6914, allocations: 12.03 kB / 427.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.6916, allocations: 79.77 kB / 427.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.6918, allocations: 43.53 kB / 427.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.6923, allocations: 278.9 kB / 428 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.6923, allocations: 31.61 kB / 428 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6925, allocations: 49.14 kB / 428.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.6935, allocations: 425.8 kB / 428.5 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.6936, allocations: 4 kB / 428.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.6937, allocations: 19.75 kB / 428.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6937, allocations: 8 kB / 428.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.6945, allocations: 256.4 kB / 428.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.6979, allocations: 1.329 MB / 430.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.6986, allocations: 233.4 kB / 430.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.6992, allocations: 190.2 kB / 430.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.6993, allocations: 4 kB / 430.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6993, allocations: 41.25 kB / 430.5 MB, free: 7.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 4.018e-06/0.6993, allocations: 4 kB / 430.5 MB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001/0.7003, allocations: 280.5 kB / 430.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7005, allocations: 235.3 kB / 431 MB, free: 6.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.7008, allocations: 183.4 kB / 431.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.7009, allocations: 40.7 kB / 431.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.7011, allocations: 193.2 kB / 431.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.7012, allocations: 105.2 kB / 431.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.7012, allocations: 7.25 kB / 431.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.7014, allocations: 333.8 kB / 431.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.7016, allocations: 71.12 kB / 432 MB, free: 5.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.7019, allocations: 140.2 kB / 432.1 MB, free: 5.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.7022, allocations: 96.89 kB / 432.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.7023, allocations: 0 / 432.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006857/0.703, allocations: 250.6 kB / 432.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.703, allocations: 8 kB / 432.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.703, allocations: 0 / 432.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.7031, allocations: 0 / 432.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.7038, allocations: 79.89 kB / 432.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.7038, allocations: 20.02 kB / 432.5 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.7042, allocations: 34.55 kB / 432.6 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.7042, allocations: 11.81 kB / 432.6 MB, free: 5.441 MB / 346.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.0001485/0.7044, allocations: 123.3 kB / 432.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.7045, allocations: 23.72 kB / 432.7 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.7046, allocations: 35.64 kB / 432.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7046, allocations: 4 kB / 432.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.7046, allocations: 0 / 432.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.7046, allocations: 11.95 kB / 432.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.7064, allocations: 0.7618 MB / 433.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.7065, allocations: 0 / 433.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.707, allocations: 47.97 kB / 433.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/0.7076, allocations: 94.7 kB / 433.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.7077, allocations: 7.719 kB / 433.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.7108, allocations: 1.824 MB / 435.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7108, allocations: 0 / 435.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.7121, allocations: 0.4911 MB / 436 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.7123, allocations: 104.6 kB / 436.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.7124, allocations: 11.06 kB / 436.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.7127, allocations: 11.92 kB / 436.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.7128, allocations: 23.91 kB / 436.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.7128, allocations: 8.125 kB / 436.2 MB, free: 2.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002095/0.7131, allocations: 151.7 kB / 436.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.405e-06/0.7131, allocations: 112 / 436.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006507/0.7137, allocations: 114 kB / 436.4 MB, free: 1.992 MB / 346.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.001664/0.7154, allocations: 1.108 MB / 437.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005933/0.7161, allocations: 197.8 kB / 437.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7161, allocations: 4.125 kB / 437.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.7168, allocations: 247.1 kB / 438 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.7173, allocations: 35.31 kB / 438 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7196, allocations: 0.764 MB / 438.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.7201, allocations: 0.7911 MB / 439.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.7203, allocations: 26.05 kB / 439.6 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.7205, allocations: 103.7 kB / 439.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7205, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.7572, allocations: 5.28 MB / 445 MB, free: 9.785 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003784/0.7576, allocations: 175.8 kB / 445.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/3.581, allocations: 0 / 445.1 MB, free: 9.562 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat