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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.896e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.0816, allocations: 44.51 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4316, allocations: 87.15 MB / 387 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4319, allocations: 85.8 kB / 387.1 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1935/0.6254, allocations: 49.36 MB / 436.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.6254, allocations: 4 kB / 436.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001283/0.6255, allocations: 47.98 kB / 436.5 MB, free: 2.23 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.005603/0.6312, allocations: 2.32 MB / 438.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6312, allocations: 12.03 kB / 438.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.6321, allocations: 288.4 kB / 439.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.6358, allocations: 1.329 MB / 440.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.636, allocations: 155.4 kB / 440.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.6365, allocations: 214.9 kB / 440.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004761/0.6412, allocations: 1.76 MB / 442.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-05/0.6413, allocations: 3.625 kB / 442.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.6416, allocations: 82.88 kB / 442.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.6417, allocations: 55.94 kB / 442.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/0.6467, allocations: 1.74 MB / 444.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.6665, allocations: 7.59 MB / 452.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/0.6717, allocations: 2.222 MB / 454.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/0.6753, allocations: 1.288 MB / 455.6 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.6755, allocations: 37.97 kB / 455.6 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/0.6756, allocations: 56.56 kB / 455.7 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=240): time 6.821e-06/0.6756, allocations: 7.938 kB / 455.7 MB, free: 196 kB / 330.7 MB Notification: Performance of matching and sorting (n=372): time 0.07277/0.7484, allocations: 15.29 MB / 471 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1213/0.8698, allocations: 30.9 MB / 0.4901 GB, free: 1.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006432/0.8763, allocations: 1.615 MB / 0.4917 GB, free: 15.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008281/0.8771, allocations: 93.69 kB / 0.4918 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.8789, allocations: 0.9543 MB / 0.4927 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002526/0.8814, allocations: 1.228 MB / 0.4939 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005474/0.882, allocations: 64 kB / 0.494 GB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000489/0.8825, allocations: 437.1 kB / 0.4944 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0066/0.8891, allocations: 1.257 MB / 0.4956 GB, free: 11.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007409/0.8966, allocations: 1.522 MB / 0.4971 GB, free: 9.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007577/0.9042, allocations: 1.465 MB / 0.4985 GB, free: 8.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/0.9043, allocations: 0 / 0.4985 GB, free: 8.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.02452/0.9289, allocations: 4.589 MB / 0.503 GB, free: 3.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.929, allocations: 33.7 kB / 0.503 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.929, allocations: 4 kB / 0.503 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007504/0.9365, allocations: 1.341 MB / 0.5044 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/0.9407, allocations: 0.5773 MB / 0.5049 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2502/1.191, allocations: 19.22 MB / 0.5237 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.194, allocations: 167.8 kB / 0.5239 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/1.195, allocations: 119.5 kB / 0.524 GB, free: 91.03 MB / 394.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.0007068/1.196, allocations: 271.4 kB / 0.5242 GB, free: 90.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/1.196, allocations: 259.1 kB / 0.5245 GB, free: 90.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.211, allocations: 4.616 MB / 0.529 GB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01306/1.224, allocations: 4.017 MB / 0.5329 GB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/1.224, allocations: 8.703 kB / 0.5329 GB, free: 90.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/1.224, allocations: 19.12 kB / 0.5329 GB, free: 90.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/1.249, allocations: 9.74 MB / 0.5424 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.249, allocations: 7.297 kB / 0.5425 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003869/1.253, allocations: 0.4972 MB / 0.5429 GB, free: 85.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0081/1.261, allocations: 1.384 MB / 0.5443 GB, free: 85.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005918/1.262, allocations: 85.42 kB / 0.5444 GB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/1.291, allocations: 17.7 MB / 0.5617 GB, free: 72.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07357/1.365, allocations: 27.3 MB / 0.5883 GB, free: 52.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.381, allocations: 6.669 MB / 0.5948 GB, free: 46.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/1.383, allocations: 0.6987 MB / 0.5955 GB, free: 45.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/1.384, allocations: 73.58 kB / 0.5956 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.386, allocations: 160.9 kB / 0.5957 GB, free: 45.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/1.387, allocations: 283.6 kB / 0.596 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/1.387, allocations: 102.2 kB / 0.5961 GB, free: 45.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002141/1.389, allocations: 1.247 MB / 0.5973 GB, free: 44.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.389, allocations: 0 / 0.5973 GB, free: 44.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004083/1.393, allocations: 1.074 MB / 0.5984 GB, free: 43.11 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.001059/1.394, allocations: 348.8 kB / 0.5987 GB, free: 42.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008733/1.403, allocations: 4.471 MB / 0.6031 GB, free: 38.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.735e-06/1.403, allocations: 3.5 kB / 0.6031 GB, free: 38.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005759/1.409, allocations: 3.021 MB / 0.606 GB, free: 35.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.411, allocations: 302.9 kB / 0.6063 GB, free: 35.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/1.423, allocations: 5.939 MB / 0.6121 GB, free: 29.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.425, allocations: 1.834 MB / 0.6139 GB, free: 28.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002766/1.428, allocations: 323.6 kB / 0.6142 GB, free: 28.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.429, allocations: 185.2 kB / 0.6144 GB, free: 27.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.841e-06/1.429, allocations: 0 / 0.6144 GB, free: 27.94 MB / 394.7 MB Notification: Performance of Templates: time 0.4464/1.875, allocations: 64.55 MB / 0.6774 GB, free: 107.9 MB / 410.7 MB