Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.533/2.533, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.787e-05, allocations: 2.094 kB / 249.8 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6272, allocations: 86.49 MB / 380.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.6276, allocations: 87.88 kB / 380.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3211/0.9487, allocations: 49.05 MB / 429.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.9488, allocations: 0 / 429.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003022/0.9491, allocations: 51.28 kB / 429.9 MB, free: 9.453 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.01418/0.9633, allocations: 2.327 MB / 432.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.9634, allocations: 8.031 kB / 432.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001444/0.9648, allocations: 207.4 kB / 432.5 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.9664, allocations: 292.4 kB / 432.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.9732, allocations: 1.329 MB / 434.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.9735, allocations: 88.14 kB / 434.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.9746, allocations: 124.2 kB / 434.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008778/0.9834, allocations: 1.668 MB / 436 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008134/0.9916, allocations: 1.495 MB / 437.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.9917, allocations: 4 kB / 437.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.9922, allocations: 4 kB / 437.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-05/0.9922, allocations: 48 kB / 437.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03022/1.022, allocations: 7.251 MB / 444.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007146/1.03, allocations: 2.145 MB / 446.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005232/1.035, allocations: 1.216 MB / 448.1 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/1.035, allocations: 41.42 kB / 448.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.385e-05/1.035, allocations: 64.56 kB / 448.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 6.882e-06/1.035, allocations: 0 / 448.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=372): time 0.1136/1.149, allocations: 12.49 MB / 460.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.149, allocations: 90.31 kB / 460.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007678/1.157, allocations: 1.485 MB / 462.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.158, allocations: 29.7 kB / 462.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/1.16, allocations: 0.9538 MB / 463.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003254/1.164, allocations: 1.181 MB / 464.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006854/1.164, allocations: 0 / 464.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005598/1.165, allocations: 437.1 kB / 464.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/1.173, allocations: 1.194 MB / 466.1 MB, free: 4.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008753/1.182, allocations: 1.455 MB / 467.5 MB, free: 3.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008931/1.191, allocations: 1.367 MB / 468.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.545e-05/1.191, allocations: 4 kB / 468.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.03127/1.222, allocations: 4.253 MB / 473.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/1.222, allocations: 37.7 kB / 473.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.222, allocations: 4 kB / 473.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/1.24, allocations: 1.307 MB / 474.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/1.251, allocations: 0.5773 MB / 475.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05765/1.309, allocations: 18.5 MB / 493.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/1.315, allocations: 95.94 kB / 493.7 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.316, allocations: 123.9 kB / 493.8 MB, free: 8.176 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 305 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.001229/1.318, allocations: 148.2 kB / 494 MB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.319, allocations: 260.8 kB / 494.2 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02476/1.343, allocations: 4.264 MB / 498.5 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3511/1.695, allocations: 3.752 MB / 0.4905 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.695, allocations: 3.656 kB / 0.4905 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001617/1.695, allocations: 23.05 kB / 0.4905 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04186/1.737, allocations: 9.146 MB / 0.4994 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/1.737, allocations: 4.578 kB / 0.4994 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006968/1.744, allocations: 0.4983 MB / 0.4999 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/1.757, allocations: 1.362 MB / 0.5012 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008489/1.758, allocations: 30.05 kB / 0.5013 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04535/1.803, allocations: 17.11 MB / 0.518 GB, free: 92.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1465/1.95, allocations: 26.46 MB / 0.5438 GB, free: 78.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02499/1.975, allocations: 6.359 MB / 0.55 GB, free: 75.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/1.978, allocations: 0.6898 MB / 0.5507 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008339/1.978, allocations: 13.67 kB / 0.5507 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004818/1.983, allocations: 96.28 kB / 0.5508 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/1.985, allocations: 282.5 kB / 0.5511 GB, free: 74.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008643/1.986, allocations: 103.4 kB / 0.5512 GB, free: 74.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00486/1.991, allocations: 1.134 MB / 0.5523 GB, free: 74.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.553e-06/1.991, allocations: 0 / 0.5523 GB, free: 74.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009817/2.001, allocations: 0.913 MB / 0.5532 GB, free: 74.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.02756/2.028, allocations: 8.06 MB / 0.561 GB, free: 67.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01448/2.043, allocations: 4.341 MB / 0.5653 GB, free: 63.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.043, allocations: 0 / 0.5653 GB, free: 63.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01091/2.054, allocations: 2.956 MB / 0.5682 GB, free: 60.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/2.057, allocations: 238.2 kB / 0.5684 GB, free: 60.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/2.078, allocations: 6.101 MB / 0.5743 GB, free: 54.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/2.08, allocations: 1.832 MB / 0.5761 GB, free: 53.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003856/2.084, allocations: 320 kB / 0.5764 GB, free: 53.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/2.087, allocations: 1.079 MB / 0.5775 GB, free: 52.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/2.087, allocations: 7.938 kB / 0.5775 GB, free: 52.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7006/2.788, allocations: 86.06 MB / 0.6615 GB, free: 92.41 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002412/2.788, allocations: 212.5 kB / 0.6617 GB, free: 92.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.86/13.65, allocations: 3.234 kB / 0.6618 GB, free: 92.12 MB / 394.7 MB