Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.407e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09227, allocations: 44.5 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.4959, allocations: 72.62 MB / 372.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4963, allocations: 66.81 kB / 372.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.5197, allocations: 5.439 MB / 378.1 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5198, allocations: 7.938 kB / 378.1 MB, free: 21.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.5198, allocations: 8 kB / 378.1 MB, free: 21.21 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.001286/0.5211, allocations: 0.5831 MB / 378.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5212, allocations: 8.531 kB / 378.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.5213, allocations: 80.55 kB / 378.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.5214, allocations: 45.95 kB / 378.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.5219, allocations: 276.4 kB / 379.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.5219, allocations: 32.12 kB / 379.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/0.522, allocations: 44.05 kB / 379.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.523, allocations: 428.4 kB / 379.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.523, allocations: 0 / 379.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.5231, allocations: 18.38 kB / 379.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5231, allocations: 10.69 kB / 379.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.5239, allocations: 268.3 kB / 379.9 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.5269, allocations: 1.322 MB / 381.2 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.5275, allocations: 235.6 kB / 381.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.5281, allocations: 188.1 kB / 381.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.5281, allocations: 2.812 kB / 381.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.5282, allocations: 38.36 kB / 381.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/0.5282, allocations: 4 kB / 381.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009179/0.5291, allocations: 274.4 kB / 381.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.5292, allocations: 235.6 kB / 382.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.5295, allocations: 187.9 kB / 382.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.5296, allocations: 30.77 kB / 382.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5297, allocations: 267 kB / 382.6 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.5298, allocations: 104.6 kB / 382.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.5298, allocations: 4.406 kB / 382.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.5299, allocations: 334.5 kB / 383 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.5301, allocations: 62.44 kB / 383.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.5304, allocations: 148.2 kB / 383.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.5306, allocations: 88.11 kB / 383.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5307, allocations: 0 / 383.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005924/0.5313, allocations: 249 kB / 383.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5313, allocations: 6.906 kB / 383.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5313, allocations: 2.016 kB / 383.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.5314, allocations: 3.594 kB / 383.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.532, allocations: 78.38 kB / 383.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5321, allocations: 5.719 kB / 383.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.5324, allocations: 37.34 kB / 383.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.5325, allocations: 10.28 kB / 383.7 MB, free: 18.45 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.0001137/0.5326, allocations: 126 kB / 383.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.5327, allocations: 20.28 kB / 383.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.574e-05/0.5328, allocations: 35.58 kB / 383.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5328, allocations: 2.625 kB / 383.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5328, allocations: 2.25 kB / 383.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5328, allocations: 5.641 kB / 383.9 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.5344, allocations: 0.7695 MB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5344, allocations: 0 / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.5349, allocations: 57.45 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/0.5354, allocations: 85.81 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.5355, allocations: 14.83 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.538, allocations: 1.816 MB / 386.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.538, allocations: 1.25 kB / 386.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5391, allocations: 0.4955 MB / 387.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.5393, allocations: 105.4 kB / 387.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.5393, allocations: 14.08 kB / 387.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.5396, allocations: 13.09 kB / 387.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.5398, allocations: 24.09 kB / 387.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.5398, allocations: 5.5 kB / 387.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.54, allocations: 154.1 kB / 387.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.54, allocations: 0 / 387.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006031/0.5406, allocations: 110.3 kB / 387.6 MB, free: 16.23 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.001341/0.5419, allocations: 1.107 MB / 388.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.5425, allocations: 195.2 kB / 388.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5425, allocations: 5.969 kB / 388.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.5431, allocations: 245.9 kB / 389.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5435, allocations: 21.17 kB / 389.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.5457, allocations: 0.789 MB / 389.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009798/0.5467, allocations: 0.7937 MB / 390.7 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.547, allocations: 103.8 kB / 390.8 MB, free: 30.11 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/0.5471, allocations: 0 / 390.8 MB, free: 30.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.742/3.289, allocations: 5.231 MB / 396 MB, free: 29.77 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat