Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.177e-05/5.202e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.402, allocations: 67.43 MB / 331.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4023, allocations: 63.97 kB / 331.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02441/0.4267, allocations: 5.506 MB / 336.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4268, allocations: 0 / 336.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.4268, allocations: 8 kB / 336.9 MB, free: 0.7578 MB / 282.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.001335/0.4282, allocations: 0.5997 MB / 337.5 MB, free: 112 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4282, allocations: 8.031 kB / 337.5 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.4284, allocations: 78.53 kB / 337.5 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.4285, allocations: 43.7 kB / 337.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.429, allocations: 274.3 kB / 337.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.429, allocations: 37 kB / 337.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.4292, allocations: 40 kB / 337.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4302, allocations: 437.3 kB / 338.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.4302, allocations: 0 / 338.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.4303, allocations: 20 kB / 338.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4303, allocations: 8 kB / 338.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.4311, allocations: 262 kB / 338.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.4342, allocations: 1.326 MB / 340 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.4349, allocations: 226.9 kB / 340.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.4354, allocations: 192.8 kB / 340.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.4355, allocations: 8.438 kB / 340.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4355, allocations: 34.56 kB / 340.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.4355, allocations: 0 / 340.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009333/0.4365, allocations: 286 kB / 340.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.4366, allocations: 239.3 kB / 340.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.437, allocations: 186 kB / 341.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.437, allocations: 33.7 kB / 341.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4372, allocations: 258.7 kB / 341.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4373, allocations: 106.5 kB / 341.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.4374, allocations: 4 kB / 341.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4375, allocations: 322.8 kB / 341.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4377, allocations: 67.98 kB / 341.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.438, allocations: 156 kB / 342 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.4383, allocations: 79.97 kB / 342.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4383, allocations: 0 / 342.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006412/0.439, allocations: 249.2 kB / 342.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.439, allocations: 11.95 kB / 342.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.439, allocations: 0 / 342.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4391, allocations: 0 / 342.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.4397, allocations: 83.89 kB / 342.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.4398, allocations: 4 kB / 342.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.4401, allocations: 27.69 kB / 342.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.4402, allocations: 15.98 kB / 342.5 MB, free: 10.74 MB / 298.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.0001368/0.4403, allocations: 125 kB / 342.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.4404, allocations: 23.72 kB / 342.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.4405, allocations: 34.73 kB / 342.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.4406, allocations: 4 kB / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.4406, allocations: 0 / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4406, allocations: 7.984 kB / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4423, allocations: 0.7649 MB / 343.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4424, allocations: 3.938 kB / 343.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.4429, allocations: 59.88 kB / 343.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/0.4435, allocations: 88.8 kB / 343.6 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.4435, allocations: 8 kB / 343.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.4463, allocations: 1.827 MB / 345.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4464, allocations: 4 kB / 345.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4475, allocations: 499.1 kB / 345.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.4477, allocations: 128.7 kB / 346.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.4478, allocations: 8 kB / 346.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.4481, allocations: 11.98 kB / 346.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.4482, allocations: 27.92 kB / 346.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.4482, allocations: 12 kB / 346.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.4484, allocations: 156.2 kB / 346.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4484, allocations: 0 / 346.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006238/0.4491, allocations: 103.7 kB / 346.4 MB, free: 6.617 MB / 298.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.001551/0.4506, allocations: 1.116 MB / 347.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.4512, allocations: 195.8 kB / 347.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4513, allocations: 3.938 kB / 347.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.4518, allocations: 245.5 kB / 347.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.4522, allocations: 24.14 kB / 347.9 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4542, allocations: 0.7929 MB / 348.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4546, allocations: 0.795 MB / 349.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4549, allocations: 99.41 kB / 349.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4549, allocations: 0 / 349.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.931/3.386, allocations: 5.224 MB / 354.8 MB, free: 14.01 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat