Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.303/2.303, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.928e-05, allocations: 3.406 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6071, allocations: 71.95 MB / 366.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6074, allocations: 67.58 kB / 366.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.6255, allocations: 2.512 MB / 368.8 MB, free: 22.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.858e-06/0.6256, allocations: 0 / 368.8 MB, free: 22.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.6256, allocations: 6.922 kB / 368.8 MB, free: 22.83 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007598/0.6264, allocations: 417.3 kB / 369.2 MB, free: 22.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.6265, allocations: 7.719 kB / 369.2 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.6266, allocations: 15.62 kB / 369.3 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.6268, allocations: 197.6 kB / 369.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6268, allocations: 2.719 kB / 369.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.6269, allocations: 7.844 kB / 369.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002055/0.6271, allocations: 49.81 kB / 369.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.6274, allocations: 117 kB / 369.6 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6274, allocations: 7.906 kB / 369.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.6275, allocations: 3.969 kB / 369.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6275, allocations: 0 / 369.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.6288, allocations: 479 kB / 370.1 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.6292, allocations: 69.84 kB / 370.2 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.6293, allocations: 52.77 kB / 370.2 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.6294, allocations: 0 / 370.2 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6294, allocations: 38.5 kB / 370.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.6294, allocations: 3.938 kB / 370.3 MB, free: 21.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006416/0.6301, allocations: 106 kB / 370.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.6302, allocations: 106.6 kB / 370.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.6303, allocations: 133.7 kB / 370.6 MB, free: 21.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6304, allocations: 25.7 kB / 370.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.6305, allocations: 125.9 kB / 370.8 MB, free: 21.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.6305, allocations: 25.25 kB / 370.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.6305, allocations: 0 / 370.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.6306, allocations: 326.3 kB / 371.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.6307, allocations: 22.39 kB / 371.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.6308, allocations: 65.03 kB / 371.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.6309, allocations: 33.34 kB / 371.2 MB, free: 21.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.631, allocations: 7.828 kB / 371.2 MB, free: 21.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003092/0.6313, allocations: 104.3 kB / 371.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6313, allocations: 6.656 kB / 371.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6313, allocations: 0 / 371.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6314, allocations: 2.375 kB / 371.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.6336, allocations: 150.2 kB / 371.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.6357, allocations: 1.327 MB / 372.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.636, allocations: 19.47 kB / 372.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6361, allocations: 15.14 kB / 372.8 MB, free: 19.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6362, allocations: 110 kB / 373 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005704/0.6368, allocations: 113.5 kB / 373.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.6369, allocations: 10.31 kB / 373.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.6375, allocations: 125 kB / 373.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6375, allocations: 5.422 kB / 373.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.6375, allocations: 0 / 373.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6376, allocations: 4.188 kB / 373.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6386, allocations: 407 kB / 373.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6386, allocations: 1.25 kB / 373.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.6389, allocations: 28.59 kB / 373.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.6394, allocations: 50.55 kB / 373.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.6394, allocations: 1.375 kB / 373.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6415, allocations: 1.306 MB / 375 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6415, allocations: 1.312 kB / 375 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.6423, allocations: 263.9 kB / 375.2 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.6424, allocations: 90.48 kB / 375.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.6425, allocations: 2.625 kB / 375.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.6428, allocations: 15.3 kB / 375.4 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.6429, allocations: 10.77 kB / 375.4 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.6429, allocations: 8.203 kB / 375.4 MB, free: 17.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.6431, allocations: 121.4 kB / 375.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6431, allocations: 3.938 kB / 375.5 MB, free: 17.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005744/0.6437, allocations: 43.03 kB / 375.5 MB, free: 17.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/0.645, allocations: 0.8733 MB / 376.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.6465, allocations: 122 kB / 376.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6465, allocations: 0 / 376.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.6469, allocations: 153.1 kB / 376.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.6472, allocations: 7 kB / 376.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6485, allocations: 328.9 kB / 377 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6489, allocations: 0.7162 MB / 377.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.649, allocations: 15.05 kB / 377.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.6491, allocations: 38.94 kB / 377.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6491, allocations: 0 / 377.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.7079, allocations: 2.365 MB / 380.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000276/0.7083, allocations: 160.2 kB / 380.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.138/3.846, allocations: 0 / 380.3 MB, free: 15.33 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat