Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.262e-05, allocations: 7.172 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.07987, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4393, allocations: 87.15 MB / 387 MB, free: 18.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4396, allocations: 80.16 kB / 387.1 MB, free: 18.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1894/0.629, allocations: 49.36 MB / 436.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.509e-06/0.6291, allocations: 0 / 436.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001977/0.6293, allocations: 51.98 kB / 436.5 MB, free: 0.793 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00808/0.6374, allocations: 2.322 MB / 438.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6375, allocations: 11.97 kB / 438.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.6389, allocations: 292.4 kB / 439.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/0.6434, allocations: 1.319 MB / 440.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.6437, allocations: 164.1 kB / 440.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007242/0.6444, allocations: 208.8 kB / 440.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006077/0.6505, allocations: 1.764 MB / 442.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.6506, allocations: 4 kB / 442.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/0.6511, allocations: 88.06 kB / 442.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.6512, allocations: 52 kB / 442.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.6576, allocations: 1.738 MB / 444.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.6801, allocations: 7.598 MB / 452.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.686, allocations: 2.218 MB / 454.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/0.6898, allocations: 1.292 MB / 455.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.6901, allocations: 37.97 kB / 455.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/0.6902, allocations: 60.5 kB / 455.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 8.121e-06/0.6902, allocations: 0 / 455.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=372): time 0.07212/0.7623, allocations: 15.29 MB / 470.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1023/0.8646, allocations: 30.9 MB / 0.4901 GB, free: 15.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/0.8687, allocations: 1.608 MB / 0.4917 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000587/0.8694, allocations: 89.69 kB / 0.4917 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/0.8703, allocations: 0.8872 MB / 0.4926 GB, free: 12.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/0.8722, allocations: 1.22 MB / 0.4938 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.8726, allocations: 75.94 kB / 0.4939 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003533/0.8729, allocations: 442.1 kB / 0.4943 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/0.8766, allocations: 1.257 MB / 0.4955 GB, free: 9.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/0.8841, allocations: 1.514 MB / 0.497 GB, free: 8.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008764/0.893, allocations: 1.465 MB / 0.4984 GB, free: 6.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.735e-05/0.8931, allocations: 4 kB / 0.4984 GB, free: 6.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.0301/0.9232, allocations: 4.466 MB / 0.5028 GB, free: 2.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.9234, allocations: 33.7 kB / 0.5028 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/0.9234, allocations: 4 kB / 0.5028 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.9375, allocations: 1.337 MB / 0.5041 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007947/0.9455, allocations: 0.5851 MB / 0.5047 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2845/1.23, allocations: 19.22 MB / 0.5235 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/1.234, allocations: 169.5 kB / 0.5236 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000742/1.234, allocations: 115 kB / 0.5238 GB, free: 108 MB / 410.7 MB 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,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008517/1.235, allocations: 278.3 kB / 0.524 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007973/1.236, allocations: 267 kB / 0.5243 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.251, allocations: 4.606 MB / 0.5288 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01328/1.264, allocations: 4.023 MB / 0.5327 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/1.265, allocations: 7.25 kB / 0.5327 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/1.265, allocations: 17.72 kB / 0.5327 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.291, allocations: 9.759 MB / 0.5423 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/1.291, allocations: 3.969 kB / 0.5423 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/1.295, allocations: 0.4983 MB / 0.5427 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007981/1.303, allocations: 1.377 MB / 0.5441 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006701/1.303, allocations: 79.17 kB / 0.5442 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/1.337, allocations: 17.69 MB / 0.5614 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07898/1.416, allocations: 27.3 MB / 0.5881 GB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.433, allocations: 6.677 MB / 0.5946 GB, free: 72.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.435, allocations: 0.6936 MB / 0.5953 GB, free: 72.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007562/1.436, allocations: 67.95 kB / 0.5954 GB, free: 72.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.439, allocations: 162.1 kB / 0.5955 GB, free: 72.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008599/1.44, allocations: 272.4 kB / 0.5958 GB, free: 71.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003972/1.44, allocations: 105.3 kB / 0.5959 GB, free: 71.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002428/1.443, allocations: 1.254 MB / 0.5971 GB, free: 70.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.136e-06/1.443, allocations: 4 kB / 0.5971 GB, free: 70.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004596/1.447, allocations: 1.073 MB / 0.5982 GB, free: 69.66 MB / 410.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.001321/1.449, allocations: 347.4 kB / 0.5985 GB, free: 69.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008995/1.458, allocations: 4.475 MB / 0.6029 GB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.141e-06/1.458, allocations: 0 / 0.6029 GB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006353/1.464, allocations: 3.023 MB / 0.6058 GB, free: 62.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.466, allocations: 308.2 kB / 0.6061 GB, free: 61.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.481, allocations: 6.005 MB / 0.612 GB, free: 56.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.483, allocations: 1.834 MB / 0.6138 GB, free: 54.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.485, allocations: 212 kB / 0.614 GB, free: 54.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.81e-06/1.485, allocations: 0 / 0.614 GB, free: 54.64 MB / 410.7 MB Notification: Performance of Templates: time 0.3709/1.856, allocations: 126.5 MB / 0.7375 GB, free: 75.89 MB / 410.7 MB