Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.32/3.32, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.752e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4802, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.656, allocations: 82.56 MB / 437 MB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.6564, allocations: 71.95 kB / 437 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03729/0.6937, allocations: 6.499 MB / 443.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6937, allocations: 0 / 443.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.6938, allocations: 8 kB / 443.6 MB, free: 5.887 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001593/0.6954, allocations: 0.5302 MB / 444.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.6955, allocations: 8.031 kB / 444.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.6956, allocations: 62.47 kB / 444.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.6957, allocations: 31.58 kB / 444.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.6965, allocations: 275 kB / 444.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.6965, allocations: 12.56 kB / 444.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.6966, allocations: 12 kB / 444.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007607/0.6974, allocations: 189.1 kB / 444.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.6981, allocations: 195.7 kB / 444.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6982, allocations: 4 kB / 444.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.6982, allocations: 0 / 444.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.6982, allocations: 11.95 kB / 444.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.701, allocations: 0.828 MB / 445.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.7025, allocations: 307 kB / 446 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.7029, allocations: 120.8 kB / 446.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.71e-05/0.7029, allocations: 4 kB / 446.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.703, allocations: 42.48 kB / 446.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 4.268e-06/0.703, allocations: 0 / 446.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003723/0.7067, allocations: 476.8 kB / 446.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7068, allocations: 55.41 kB / 446.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.7072, allocations: 176.2 kB / 446.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.7073, allocations: 25.7 kB / 446.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.7075, allocations: 164.3 kB / 447 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.7076, allocations: 102.4 kB / 447.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.7077, allocations: 0 / 447.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7078, allocations: 338.8 kB / 447.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.7081, allocations: 75.94 kB / 447.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.7085, allocations: 100.4 kB / 447.6 MB, free: 1.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.7088, allocations: 85.31 kB / 447.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7088, allocations: 0 / 447.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003698/0.7125, allocations: 498.4 kB / 448.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.7126, allocations: 4 kB / 448.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7126, allocations: 3.984 kB / 448.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/0.7162, allocations: 307.2 kB / 448.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.7166, allocations: 27.98 kB / 448.5 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.729, allocations: 6.106 MB / 454.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.7295, allocations: 19.75 kB / 454.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.7296, allocations: 15.98 kB / 454.7 MB, free: 10.02 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.7299, allocations: 112.1 kB / 454.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.73, allocations: 31.73 kB / 454.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.7336, allocations: 495.9 kB / 455.3 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7337, allocations: 4.25 kB / 455.3 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7337, allocations: 3.938 kB / 455.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.7337, allocations: 4 kB / 455.3 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.7345, allocations: 305.8 kB / 455.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7345, allocations: 7.922 kB / 455.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.7348, allocations: 19.98 kB / 455.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.7381, allocations: 307.1 kB / 455.9 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.7382, allocations: 4 kB / 456 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.7504, allocations: 6.034 MB / 462 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7505, allocations: 4.062 kB / 462 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.754, allocations: 0.5729 MB / 462.6 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.7542, allocations: 116.6 kB / 462.7 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.7543, allocations: 4 kB / 462.7 MB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.7548, allocations: 8.172 kB / 462.7 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.755, allocations: 35.94 kB / 462.7 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.755, allocations: 4 kB / 462.7 MB, free: 1.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.7553, allocations: 152.4 kB / 462.9 MB, free: 1.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7553, allocations: 0 / 462.9 MB, free: 1.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009144/0.7563, allocations: 107.8 kB / 463 MB, free: 1.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.3768/1.133, allocations: 1.109 MB / 464.1 MB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/1.136, allocations: 0.6726 MB / 464.8 MB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.136, allocations: 0 / 464.8 MB, free: 100.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.138, allocations: 0.6211 MB / 465.4 MB, free: 100.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/1.139, allocations: 18.92 kB / 465.4 MB, free: 100.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/1.141, allocations: 380.9 kB / 465.8 MB, free: 99.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/1.142, allocations: 0.7792 MB / 466.6 MB, free: 99.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002037/1.142, allocations: 9.016 kB / 466.6 MB, free: 99.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.142, allocations: 74.84 kB / 466.6 MB, free: 99.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/1.142, allocations: 0 / 466.6 MB, free: 99.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.249, allocations: 9.744 MB / 476.4 MB, free: 96.64 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000607/1.249, allocations: 138.4 kB / 476.5 MB, free: 96.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.196/5.445, allocations: 0 / 476.5 MB, free: 96.44 MB / 394.7 MB