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.999/1.999, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.183e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3324, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4876, allocations: 71.97 MB / 366.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.488, allocations: 67.95 kB / 366.2 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03258/0.5206, allocations: 5.372 MB / 371.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5207, allocations: 0 / 371.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.744e-05/0.5207, allocations: 8 kB / 371.6 MB, free: 4.484 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.002019/0.5228, allocations: 0.5885 MB / 372.2 MB, free: 3.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.5229, allocations: 12.03 kB / 372.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.5231, allocations: 47.42 kB / 372.3 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.5238, allocations: 279.1 kB / 372.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.5239, allocations: 12 kB / 372.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5241, allocations: 27.91 kB / 372.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/0.5252, allocations: 238.6 kB / 372.8 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.5265, allocations: 373.4 kB / 373.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.5266, allocations: 0 / 373.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.5267, allocations: 0 / 373.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.5268, allocations: 19.95 kB / 373.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.5325, allocations: 1.232 MB / 374.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.5336, allocations: 226.9 kB / 374.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.5345, allocations: 180.7 kB / 374.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.5346, allocations: 4 kB / 374.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.092e-05/0.5347, allocations: 34.56 kB / 374.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 5.38e-06/0.5348, allocations: 4 kB / 374.9 MB, free: 1.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001456/0.5362, allocations: 250.7 kB / 375.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.5365, allocations: 235.3 kB / 375.3 MB, free: 484 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.5369, allocations: 161.8 kB / 375.5 MB, free: 312 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.537, allocations: 29.7 kB / 375.5 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.5373, allocations: 270.5 kB / 375.8 MB, free: 4 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.5376, allocations: 94.56 kB / 375.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.5376, allocations: 0 / 375.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5379, allocations: 326.8 kB / 376.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.5382, allocations: 63.94 kB / 376.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.5386, allocations: 132.3 kB / 376.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.5391, allocations: 83.91 kB / 376.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5391, allocations: 0 / 376.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009655/0.5401, allocations: 233.1 kB / 376.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.5402, allocations: 4 kB / 376.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.5402, allocations: 4 kB / 376.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.5403, allocations: 0 / 376.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5414, allocations: 83.89 kB / 376.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.5415, allocations: 7.938 kB / 376.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.542, allocations: 27.83 kB / 376.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.5421, allocations: 4.078 kB / 376.8 MB, free: 14.91 MB / 330.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.0002245/0.5424, allocations: 112.7 kB / 376.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001312/0.5437, allocations: 266.3 kB / 377.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5439, allocations: 23.8 kB / 377.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.5441, allocations: 31.39 kB / 377.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.5442, allocations: 4 kB / 377.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.5442, allocations: 4 kB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5442, allocations: 0 / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.5469, allocations: 0.6944 MB / 377.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.5469, allocations: 0 / 377.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.5478, allocations: 51.91 kB / 378 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/0.5486, allocations: 88.78 kB / 378.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.5488, allocations: 7.984 kB / 378.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/0.5532, allocations: 1.744 MB / 379.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.5532, allocations: 3.953 kB / 379.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.555, allocations: 463 kB / 380.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.5553, allocations: 108.9 kB / 380.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5554, allocations: 7.953 kB / 380.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.5559, allocations: 8 kB / 380.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5561, allocations: 15.97 kB / 380.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.5561, allocations: 15.98 kB / 380.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.5564, allocations: 120.3 kB / 380.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.954e-06/0.5564, allocations: 0 / 380.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009978/0.5574, allocations: 95.59 kB / 380.7 MB, free: 10.84 MB / 330.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.002407/0.5599, allocations: 1.071 MB / 381.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.5608, allocations: 188.3 kB / 381.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5609, allocations: 4 kB / 381.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.5619, allocations: 249.4 kB / 382.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.5626, allocations: 8.188 kB / 382.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.5661, allocations: 0.7786 MB / 382.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.5669, allocations: 0.795 MB / 383.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5674, allocations: 99.41 kB / 383.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5674, allocations: 0 / 383.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.585/3.152, allocations: 5.097 MB / 388.9 MB, free: 2.441 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