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 1.98/1.98, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.659e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3486, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4995, allocations: 71.97 MB / 366.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4998, allocations: 63.97 kB / 366.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02416/0.524, allocations: 5.376 MB / 371.6 MB, free: 4.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.524, allocations: 3.938 kB / 371.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.5241, allocations: 8 kB / 371.6 MB, free: 4.426 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.00136/0.5254, allocations: 0.5847 MB / 372.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.5255, allocations: 15.97 kB / 372.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.5257, allocations: 47.42 kB / 372.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.5261, allocations: 275.2 kB / 372.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5262, allocations: 12 kB / 372.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.119e-05/0.5263, allocations: 31.89 kB / 372.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007298/0.527, allocations: 242.6 kB / 372.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.5279, allocations: 369.4 kB / 373.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.5279, allocations: 0 / 373.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.528, allocations: 4 kB / 373.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.528, allocations: 11.95 kB / 373.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.531, allocations: 1.232 MB / 374.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.5316, allocations: 226.8 kB / 374.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.5321, allocations: 184.8 kB / 374.8 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.5322, allocations: 4 kB / 374.8 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5322, allocations: 34.56 kB / 374.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.547e-06/0.5322, allocations: 4 kB / 374.9 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009076/0.5332, allocations: 254.6 kB / 375.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.5333, allocations: 239.3 kB / 375.4 MB, free: 416 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.5335, allocations: 153.8 kB / 375.5 MB, free: 252 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.5336, allocations: 29.7 kB / 375.5 MB, free: 216 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5338, allocations: 208 kB / 375.7 MB, free: 4 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.5339, allocations: 98.73 kB / 375.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.534, allocations: 0 / 375.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5341, allocations: 334.8 kB / 376.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5343, allocations: 63.94 kB / 376.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.5346, allocations: 132.3 kB / 376.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.5349, allocations: 87.27 kB / 376.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5349, allocations: 0 / 376.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006015/0.5355, allocations: 240.8 kB / 376.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.5355, allocations: 8 kB / 376.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5355, allocations: 0 / 376.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5356, allocations: 0 / 376.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.5362, allocations: 79.89 kB / 376.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5363, allocations: 4.062 kB / 376.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.5366, allocations: 23.78 kB / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.5367, allocations: 15.98 kB / 376.8 MB, free: 14.89 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.0001379/0.5368, allocations: 116.6 kB / 376.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007789/0.5376, allocations: 262.2 kB / 377.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.5377, allocations: 19.81 kB / 377.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.5378, allocations: 27.39 kB / 377.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5378, allocations: 4 kB / 377.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5378, allocations: 4 kB / 377.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5379, allocations: 4 kB / 377.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5394, allocations: 0.6906 MB / 377.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5394, allocations: 0 / 377.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.5399, allocations: 47.97 kB / 378 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.5404, allocations: 88.78 kB / 378.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.5405, allocations: 4 kB / 378.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.5432, allocations: 1.756 MB / 379.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5433, allocations: 3.953 kB / 379.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5444, allocations: 459.9 kB / 380.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.5445, allocations: 108.8 kB / 380.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.5446, allocations: 11.98 kB / 380.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.5449, allocations: 4 kB / 380.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.545, allocations: 24.03 kB / 380.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.545, allocations: 8 kB / 380.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.5452, allocations: 120.3 kB / 380.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5452, allocations: 0 / 380.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005859/0.5458, allocations: 99.59 kB / 380.6 MB, free: 10.82 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.001438/0.5472, allocations: 1.074 MB / 381.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.5478, allocations: 188.4 kB / 381.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5478, allocations: 0 / 381.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.5484, allocations: 241.5 kB / 382.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.5487, allocations: 12.19 kB / 382.1 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.5507, allocations: 0.7384 MB / 382.9 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.5512, allocations: 0.7912 MB / 383.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.5514, allocations: 26.05 kB / 383.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.5516, allocations: 103.3 kB / 383.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.5517, allocations: 4 kB / 383.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/0.5997, allocations: 4.46 MB / 388.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/0.6001, allocations: 144.2 kB / 388.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.083, allocations: 3.938 kB / 388.4 MB, free: 2.906 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