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 2.454/2.454, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.134e-05/5.155e-05, allocations: 4 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5369, allocations: 72.61 MB / 372.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5373, allocations: 68.36 kB / 372.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5615, allocations: 5.432 MB / 378.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5616, allocations: 0 / 378.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.5616, allocations: 11.22 kB / 378.1 MB, free: 12.13 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.001418/0.563, allocations: 0.5865 MB / 378.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5631, allocations: 10.72 kB / 378.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.5633, allocations: 81.89 kB / 378.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.5635, allocations: 45.52 kB / 378.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.5639, allocations: 279.2 kB / 379.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.564, allocations: 31.12 kB / 379.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5641, allocations: 45.12 kB / 379.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5652, allocations: 429.2 kB / 379.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.5653, allocations: 5.031 kB / 379.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.5654, allocations: 20.34 kB / 379.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.5654, allocations: 10.31 kB / 379.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.5662, allocations: 266.5 kB / 379.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.5694, allocations: 1.322 MB / 381.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.57, allocations: 239.3 kB / 381.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.5706, allocations: 195.4 kB / 381.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.5706, allocations: 3.344 kB / 381.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.5707, allocations: 37.19 kB / 381.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.697e-06/0.5707, allocations: 0 / 381.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009352/0.5716, allocations: 276.3 kB / 381.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.5717, allocations: 239.4 kB / 382.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.572, allocations: 181.7 kB / 382.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.5721, allocations: 34.61 kB / 382.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5723, allocations: 212.5 kB / 382.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.5724, allocations: 100.5 kB / 382.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.5724, allocations: 4.844 kB / 382.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.5725, allocations: 338.6 kB / 383 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.5727, allocations: 65.91 kB / 383.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.573, allocations: 151.8 kB / 383.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.5733, allocations: 87.19 kB / 383.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5734, allocations: 0 / 383.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006881/0.5741, allocations: 268.8 kB / 383.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5741, allocations: 5.219 kB / 383.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5741, allocations: 1.906 kB / 383.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5742, allocations: 6.094 kB / 383.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.5748, allocations: 78.72 kB / 383.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5749, allocations: 2.594 kB / 383.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.5752, allocations: 38.38 kB / 383.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5753, allocations: 6.031 kB / 383.7 MB, free: 9.41 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 0.0001161/0.5754, allocations: 131.1 kB / 383.8 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.5755, allocations: 25.19 kB / 383.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.5756, allocations: 32.16 kB / 383.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5756, allocations: 3.781 kB / 383.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.5757, allocations: 2.844 kB / 383.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5757, allocations: 1.781 kB / 383.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.5773, allocations: 0.7738 MB / 384.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5773, allocations: 0 / 384.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.5779, allocations: 51.98 kB / 384.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.5784, allocations: 93.45 kB / 384.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.5785, allocations: 9.172 kB / 384.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.581, allocations: 1.812 MB / 386.6 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.581, allocations: 0 / 386.6 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5822, allocations: 0.5033 MB / 387.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5823, allocations: 103.5 kB / 387.2 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.5824, allocations: 12.08 kB / 387.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.5827, allocations: 12.25 kB / 387.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.5829, allocations: 25.83 kB / 387.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.5829, allocations: 12.88 kB / 387.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.5831, allocations: 150.4 kB / 387.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5831, allocations: 0 / 387.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006152/0.5837, allocations: 109.9 kB / 387.6 MB, free: 7.188 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.001388/0.5851, allocations: 1.109 MB / 388.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.5858, allocations: 195.6 kB / 388.9 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5858, allocations: 0 / 388.9 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.5864, allocations: 261.4 kB / 389.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.5867, allocations: 21.84 kB / 389.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.5888, allocations: 0.7656 MB / 389.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.5895, allocations: 0.7932 MB / 390.7 MB, free: 21.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.5897, allocations: 30.56 kB / 390.7 MB, free: 21.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5899, allocations: 98.78 kB / 390.8 MB, free: 21.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5899, allocations: 0 / 390.8 MB, free: 21.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/0.6758, allocations: 5.126 MB / 395.9 MB, free: 20.59 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.6762, allocations: 178.1 kB / 396.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.294, allocations: 3.938 kB / 396.1 MB, free: 20.37 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