Running command: "" <> buildModelFMU(HanserModelica.Electrical.TablesFromFile,fileNamePrefix="HanserModelica_HanserModelica_Electrical_TablesFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.198/2.198, allocations: 214.7 MB / 226.8 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.426e-05, allocations: 0 / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5541, allocations: 81.19 MB / 410.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5544, allocations: 72.22 kB / 410.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03169/0.5861, allocations: 7.187 MB / 417.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5862, allocations: 0 / 417.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.5862, allocations: 7.938 kB / 417.7 MB, free: 12.38 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008923/0.5871, allocations: 476.8 kB / 418.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.5872, allocations: 12.03 kB / 418.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/0.5873, allocations: 45.3 kB / 418.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.5874, allocations: 23.72 kB / 418.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.5879, allocations: 250.4 kB / 418.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5879, allocations: 9.359 kB / 418.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.588, allocations: 10.75 kB / 418.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.5883, allocations: 138.7 kB / 418.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5884, allocations: 3.938 kB / 418.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.5884, allocations: 7.125 kB / 418.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5884, allocations: 4 kB / 418.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.5887, allocations: 66.95 kB / 418.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5899, allocations: 0.5713 MB / 419.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.5904, allocations: 102 kB / 419.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.5905, allocations: 39.41 kB / 419.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.5906, allocations: 0 / 419.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.5908, allocations: 99.34 kB / 419.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.5908, allocations: 0 / 419.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000392/0.5912, allocations: 119.5 kB / 419.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.5913, allocations: 102.8 kB / 419.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.5918, allocations: 245.5 kB / 420 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5918, allocations: 29.02 kB / 420 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.592, allocations: 138 kB / 420.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.592, allocations: 42.16 kB / 420.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.5921, allocations: 4 kB / 420.2 MB, free: 9.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5922, allocations: 329.7 kB / 420.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.5923, allocations: 23.5 kB / 420.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5925, allocations: 68.2 kB / 420.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5926, allocations: 47.2 kB / 420.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5926, allocations: 4.047 kB / 420.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000378/0.593, allocations: 131.1 kB / 420.8 MB, free: 9.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5931, allocations: 4 kB / 420.8 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5931, allocations: 4 kB / 420.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5931, allocations: 0 / 420.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.5934, allocations: 27.92 kB / 420.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.5934, allocations: 4.094 kB / 420.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5936, allocations: 27.45 kB / 420.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5936, allocations: 4 kB / 420.9 MB, free: 9.309 MB / 346.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: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001164/0.5938, allocations: 109.3 kB / 421 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5938, allocations: 19.77 kB / 421 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.5942, allocations: 140 kB / 421.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5943, allocations: 3.984 kB / 421.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.051e-05/0.5943, allocations: 0 / 421.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5943, allocations: 4 kB / 421.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.5947, allocations: 242.3 kB / 421.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5947, allocations: 0 / 421.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.5949, allocations: 27.44 kB / 421.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5949, allocations: 0 / 421.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.595, allocations: 0 / 421.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.595, allocations: 0 / 421.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.595, allocations: 0 / 421.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.5955, allocations: 191.7 kB / 421.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5956, allocations: 108.5 kB / 421.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.5957, allocations: 11.39 kB / 421.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.5959, allocations: 4 kB / 421.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.596, allocations: 7.984 kB / 421.7 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.596, allocations: 7.625 kB / 421.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003155/0.5963, allocations: 196.2 kB / 421.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5963, allocations: 0 / 421.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004506/0.5968, allocations: 63.19 kB / 422 MB, free: 8.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.5988, allocations: 1.07 MB / 423.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.5992, allocations: 68.44 kB / 423.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5992, allocations: 0 / 423.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5993, allocations: 42.59 kB / 423.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.5998, allocations: 38.31 kB / 423.2 MB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.601, allocations: 398.2 kB / 423.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6014, allocations: 0.7361 MB / 424.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.6016, allocations: 21.33 kB / 424.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6017, allocations: 65.91 kB / 424.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6017, allocations: 0 / 424.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.64, allocations: 4.317 MB / 428.7 MB, free: 1.645 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.6405, allocations: 189.5 kB / 428.9 MB, free: 1.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.232, allocations: 8 kB / 428.9 MB, free: 1.406 MB / 346.7 MB