Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.898e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 44.5 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.4737, allocations: 71.96 MB / 366.2 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.4741, allocations: 63.97 kB / 366.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02726/0.5013, allocations: 5.38 MB / 371.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5014, allocations: 8 kB / 371.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.5014, allocations: 8 kB / 371.7 MB, free: 4.387 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.001459/0.5029, allocations: 0.5885 MB / 372.3 MB, free: 3.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.503, allocations: 8.031 kB / 372.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.5031, allocations: 47.48 kB / 372.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.5036, allocations: 267.2 kB / 372.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.5037, allocations: 12 kB / 372.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5038, allocations: 35.83 kB / 372.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000825/0.5046, allocations: 238.6 kB / 372.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5057, allocations: 373.4 kB / 373.3 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.5058, allocations: 4 kB / 373.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.5058, allocations: 0 / 373.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5059, allocations: 11.95 kB / 373.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.5093, allocations: 1.232 MB / 374.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.51, allocations: 222.9 kB / 374.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.5106, allocations: 184.7 kB / 374.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.5106, allocations: 0 / 374.9 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.5107, allocations: 38.56 kB / 374.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.5107, allocations: 0 / 374.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.000977/0.5117, allocations: 262.6 kB / 375.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.5118, allocations: 235.3 kB / 375.4 MB, free: 388 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5121, allocations: 157.8 kB / 375.6 MB, free: 220 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.5121, allocations: 25.7 kB / 375.6 MB, free: 188 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.5124, allocations: 208 kB / 375.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.5125, allocations: 94.56 kB / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.5125, allocations: 0 / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5127, allocations: 330.8 kB / 376.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.513, allocations: 64 kB / 376.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.5133, allocations: 140.3 kB / 376.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.5136, allocations: 87.28 kB / 376.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5136, allocations: 0 / 376.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006984/0.5143, allocations: 233 kB / 376.7 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.5143, allocations: 8 kB / 376.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5144, allocations: 0 / 376.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.5144, allocations: 4 kB / 376.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.5152, allocations: 79.89 kB / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.5152, allocations: 4 kB / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.5155, allocations: 27.83 kB / 376.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.5156, allocations: 8.078 kB / 376.9 MB, free: 14.88 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.0001399/0.5157, allocations: 112.7 kB / 377 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000882/0.5166, allocations: 278.2 kB / 377.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.5168, allocations: 15.81 kB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.5169, allocations: 31.34 kB / 377.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5169, allocations: 4 kB / 377.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.5169, allocations: 4 kB / 377.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.517, allocations: 11.97 kB / 377.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.5187, allocations: 0.6828 MB / 378 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5187, allocations: 0 / 378 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.5193, allocations: 47.97 kB / 378 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000563/0.5199, allocations: 92.73 kB / 378.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.52, allocations: 4.031 kB / 378.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.523, allocations: 1.748 MB / 379.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.5231, allocations: 11.92 kB / 379.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5243, allocations: 455.8 kB / 380.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5245, allocations: 104.7 kB / 380.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.5246, allocations: 12.02 kB / 380.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.5249, allocations: 4 kB / 380.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.525, allocations: 31.95 kB / 380.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5251, allocations: 8 kB / 380.5 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.5252, allocations: 120.3 kB / 380.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5253, allocations: 0 / 380.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007014/0.526, allocations: 99.59 kB / 380.7 MB, free: 10.79 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.001673/0.5277, allocations: 1.07 MB / 381.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.5283, allocations: 184.4 kB / 382 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.5283, allocations: 8.125 kB / 382 MB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.529, allocations: 241.5 kB / 382.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.5293, allocations: 8.188 kB / 382.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.5316, allocations: 0.7423 MB / 383 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.5322, allocations: 0.7951 MB / 383.8 MB, free: 7.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.5324, allocations: 18.06 kB / 383.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5327, allocations: 103.4 kB / 383.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of SimCode: time 1.153e-06/0.5327, allocations: 0 / 383.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/0.6862, allocations: 4.465 MB / 388.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004691/0.6867, allocations: 149.7 kB / 388.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.153/3.839, allocations: 0 / 388.5 MB, free: 2.879 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat