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.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.808e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07696, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4177, allocations: 87.15 MB / 387 MB, free: 20.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.418, allocations: 81.06 kB / 387.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1984/0.6165, allocations: 49.36 MB / 436.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6165, allocations: 0 / 436.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001569/0.6167, allocations: 52 kB / 436.5 MB, free: 2.68 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.006439/0.6232, allocations: 2.324 MB / 438.8 MB, free: 452 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6232, allocations: 8.031 kB / 438.8 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6243, allocations: 292.4 kB / 439.1 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.6285, allocations: 1.331 MB / 440.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.6287, allocations: 155 kB / 440.6 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.6294, allocations: 207 kB / 440.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/0.6349, allocations: 1.789 MB / 442.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-05/0.635, allocations: 7.984 kB / 442.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.6353, allocations: 81.38 kB / 442.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/0.6354, allocations: 52 kB / 442.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.6411, allocations: 1.762 MB / 444.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.6634, allocations: 7.605 MB / 452.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.6687, allocations: 2.242 MB / 454.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.6722, allocations: 1.284 MB / 455.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.6725, allocations: 37.95 kB / 455.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.6726, allocations: 56.56 kB / 455.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=240): time 9.433e-06/0.6726, allocations: 0 / 455.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of matching and sorting (n=372): time 0.06775/0.7404, allocations: 15.3 MB / 471 MB, free: 1.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09988/0.8403, allocations: 30.85 MB / 0.4901 GB, free: 1.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.8441, allocations: 1.604 MB / 0.4917 GB, free: 84 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000616/0.8448, allocations: 85.75 kB / 0.4917 GB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000887/0.8457, allocations: 0.8872 MB / 0.4926 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/0.8474, allocations: 1.232 MB / 0.4938 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.8477, allocations: 68 kB / 0.4939 GB, free: 13.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003519/0.8481, allocations: 438 kB / 0.4943 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/0.8519, allocations: 1.264 MB / 0.4955 GB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/0.8563, allocations: 1.54 MB / 0.497 GB, free: 10.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.8606, allocations: 1.461 MB / 0.4985 GB, free: 9.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.8607, allocations: 4 kB / 0.4985 GB, free: 9.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01544/0.8761, allocations: 4.47 MB / 0.5028 GB, free: 4.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.8763, allocations: 33.7 kB / 0.5029 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.8763, allocations: 0 / 0.5029 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007501/0.8838, allocations: 1.352 MB / 0.5042 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.8881, allocations: 0.5773 MB / 0.5047 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2643/1.152, allocations: 19.22 MB / 0.5235 GB, free: 90.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/1.158, allocations: 166.8 kB / 0.5237 GB, free: 90.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.16, allocations: 121.8 kB / 0.5238 GB, free: 90.89 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.001284/1.161, allocations: 270.3 kB / 0.524 GB, free: 90.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.162, allocations: 269.6 kB / 0.5243 GB, free: 90.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02515/1.188, allocations: 4.611 MB / 0.5288 GB, free: 90.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01956/1.207, allocations: 4.025 MB / 0.5327 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/1.207, allocations: 3.719 kB / 0.5327 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.911e-05/1.207, allocations: 15.09 kB / 0.5327 GB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04052/1.248, allocations: 9.759 MB / 0.5423 GB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.942e-05/1.248, allocations: 0 / 0.5423 GB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007638/1.256, allocations: 0.5006 MB / 0.5428 GB, free: 85.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.271, allocations: 1.385 MB / 0.5441 GB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001119/1.272, allocations: 77.58 kB / 0.5442 GB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05103/1.323, allocations: 17.69 MB / 0.5615 GB, free: 72.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07574/1.399, allocations: 27.25 MB / 0.5881 GB, free: 52.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.416, allocations: 6.678 MB / 0.5946 GB, free: 46.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.418, allocations: 0.6869 MB / 0.5953 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/1.419, allocations: 71.09 kB / 0.5953 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.421, allocations: 167.6 kB / 0.5955 GB, free: 45.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007693/1.422, allocations: 275.1 kB / 0.5958 GB, free: 45.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.422, allocations: 107.6 kB / 0.5959 GB, free: 45.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002219/1.425, allocations: 1.25 MB / 0.5971 GB, free: 44.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.079e-06/1.425, allocations: 0 / 0.5971 GB, free: 44.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004812/1.429, allocations: 1.068 MB / 0.5981 GB, free: 43.04 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.001307/1.431, allocations: 348.1 kB / 0.5985 GB, free: 42.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009219/1.44, allocations: 4.596 MB / 0.6029 GB, free: 38.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.698e-06/1.44, allocations: 4 kB / 0.603 GB, free: 38.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006096/1.446, allocations: 3.12 MB / 0.606 GB, free: 35.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.448, allocations: 309.8 kB / 0.6063 GB, free: 34.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.462, allocations: 6.101 MB / 0.6123 GB, free: 29.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.464, allocations: 1.839 MB / 0.614 GB, free: 27.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/1.466, allocations: 213.9 kB / 0.6143 GB, free: 27.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.848e-06/1.466, allocations: 0 / 0.6143 GB, free: 27.64 MB / 394.7 MB Notification: Performance of Templates: time 0.3681/1.834, allocations: 126.8 MB / 0.738 GB, free: 63.9 MB / 410.7 MB