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.75/2.75, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.961e-05, allocations: 7.781 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5863/0.6979, allocations: 71.96 MB / 366.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.6982, allocations: 67.72 kB / 366.3 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.7134, allocations: 2.514 MB / 368.8 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.7134, allocations: 1.25 kB / 368.8 MB, free: 22.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.7134, allocations: 2.719 kB / 368.8 MB, free: 22.7 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.0008813/0.7143, allocations: 415.5 kB / 369.2 MB, free: 22.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.7144, allocations: 9.156 kB / 369.2 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.7145, allocations: 39.58 kB / 369.3 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.7146, allocations: 15.53 kB / 369.3 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.7148, allocations: 201.7 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7149, allocations: 7.844 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.7149, allocations: 6.375 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002506/0.7152, allocations: 53.34 kB / 369.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.7156, allocations: 113.7 kB / 369.6 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.7156, allocations: 3.906 kB / 369.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.7156, allocations: 0 / 369.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7157, allocations: 3 kB / 369.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.7173, allocations: 491.3 kB / 370.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.7177, allocations: 73.81 kB / 370.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.7179, allocations: 50.42 kB / 370.3 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.718, allocations: 0 / 370.3 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.718, allocations: 33.62 kB / 370.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.718, allocations: 0 / 370.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007597/0.7188, allocations: 119.9 kB / 370.4 MB, free: 21.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.7189, allocations: 102.8 kB / 370.5 MB, free: 21.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.7191, allocations: 138.1 kB / 370.6 MB, free: 21.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.7191, allocations: 25.7 kB / 370.7 MB, free: 21.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.7192, allocations: 120.7 kB / 370.8 MB, free: 21.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.7193, allocations: 25.77 kB / 370.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.7193, allocations: 0 / 370.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.7194, allocations: 326.7 kB / 371.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.7195, allocations: 19.25 kB / 371.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.7196, allocations: 62.53 kB / 371.2 MB, free: 20.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.7198, allocations: 33.61 kB / 371.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7198, allocations: 0 / 371.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003804/0.7202, allocations: 110.4 kB / 371.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.7202, allocations: 7.562 kB / 371.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7202, allocations: 0 / 371.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7203, allocations: 0 / 371.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.7229, allocations: 154 kB / 371.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.7252, allocations: 1.333 MB / 372.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.7257, allocations: 21.11 kB / 372.9 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.7257, allocations: 2.562 kB / 372.9 MB, free: 19.47 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.000158/0.7259, allocations: 115.1 kB / 373 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.726, allocations: 19.61 kB / 373 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.7267, allocations: 126.1 kB / 373.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.7267, allocations: 1.281 kB / 373.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7268, allocations: 0 / 373.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7268, allocations: 1.219 kB / 373.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.728, allocations: 407.4 kB / 373.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7281, allocations: 1.281 kB / 373.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.7284, allocations: 23.59 kB / 373.5 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006649/0.7291, allocations: 47.8 kB / 373.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.7292, allocations: 9.266 kB / 373.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.7315, allocations: 1.296 MB / 374.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.7316, allocations: 0 / 374.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.7325, allocations: 268.3 kB / 375.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.7326, allocations: 98.81 kB / 375.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.7327, allocations: 3.406 kB / 375.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.733, allocations: 10.12 kB / 375.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.7331, allocations: 11.88 kB / 375.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.7332, allocations: 10.69 kB / 375.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.7333, allocations: 116 kB / 375.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7334, allocations: 3.938 kB / 375.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005862/0.734, allocations: 38.81 kB / 375.4 MB, free: 17.39 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.001371/0.7353, allocations: 0.8704 MB / 376.3 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.7371, allocations: 125.1 kB / 376.4 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7371, allocations: 0 / 376.4 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.7376, allocations: 150.2 kB / 376.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.738, allocations: 15.39 kB / 376.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.7393, allocations: 334.9 kB / 376.9 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.7398, allocations: 0.7176 MB / 377.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.7399, allocations: 10.94 kB / 377.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.74, allocations: 41.47 kB / 377.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7401, allocations: 4 kB / 377.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05689/0.797, allocations: 2.47 MB / 380.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000309/0.7973, allocations: 156.4 kB / 380.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.285/4.083, allocations: 0 / 380.3 MB, free: 15.17 MB / 314.7 MB "" Variables in the reference:time,Inductance1.i,SaturatingInductance1.Psi Variables in the result:Ground1.p.i,Ground1.p.v,Inductance1.L,Inductance1.i,Inductance1.n.i,Inductance1.n.v,Inductance1.p.i,Inductance1.p.v,Inductance1.v,Inom,Linf,Lnom,Lzer,SaturatingInductance1.Inom,SaturatingInductance1.Ipar,SaturatingInductance1.Lact,SaturatingInductance1.Linf,SaturatingInductance1.Lnom,SaturatingInductance1.Lzer,SaturatingInductance1.Psi,SaturatingInductance1.i,SaturatingInductance1.n.i,SaturatingInductance1.n.v,SaturatingInductance1.p.i,SaturatingInductance1.p.v,SaturatingInductance1.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,U,_D_cse2,der(Inductance1.i),der(SaturatingInductance1.Psi),f,phase,time