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.836/1.836, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.668e-05, allocations: 4 kB / 258.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01391/0.3319, allocations: 8.537 MB / 311.9 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007745/0.3397, allocations: 2.805 MB / 314.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.3418, allocations: 55.88 kB / 314.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3437, allocations: 0.5482 MB / 315.3 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.3472, allocations: 0.8374 MB / 316.1 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3497, allocations: 0.5225 MB / 316.6 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004476/0.3542, allocations: 1.596 MB / 318.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.3555, allocations: 457.9 kB / 318.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3575, allocations: 0.8611 MB / 319.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3601, allocations: 1.086 MB / 320.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3612, allocations: 119.9 kB / 320.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000634/0.3618, allocations: 112 kB / 320.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.3624, allocations: 454.1 kB / 321.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009821/0.3634, allocations: 220 kB / 321.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.3688, allocations: 3.272 MB / 324.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3689, allocations: 0 / 324.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3689, allocations: 0 / 324.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.369, allocations: 0 / 324.8 MB, free: 8.082 MB / 266.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.0096/0.3786, allocations: 2.458 MB / 327.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3787, allocations: 8.031 kB / 327.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3797, allocations: 296.4 kB / 327.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/0.3847, allocations: 1.426 MB / 329 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.385, allocations: 156.1 kB / 329.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006909/0.3857, allocations: 208 kB / 329.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006821/0.3925, allocations: 1.858 MB / 331.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-05/0.3926, allocations: 3.906 kB / 331.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.393, allocations: 84 kB / 331.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/0.393, allocations: 55.95 kB / 331.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007667/0.4007, allocations: 1.89 MB / 333.2 MB, free: 15.45 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.4222, allocations: 7.269 MB / 340.5 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006362/0.4286, allocations: 2.234 MB / 342.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.429, allocations: 41.95 kB / 342.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.429, allocations: 56.56 kB / 342.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 5.34e-06/0.4291, allocations: 0 / 342.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=361): time 0.1099/0.539, allocations: 17.21 MB / 360 MB, free: 4.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1668/0.7059, allocations: 30 MB / 390 MB, free: 5.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.7095, allocations: 1.58 MB / 391.6 MB, free: 3.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006395/0.7102, allocations: 85.7 kB / 391.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.7114, allocations: 0.9695 MB / 392.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001889/0.7133, allocations: 1.193 MB / 393.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.7137, allocations: 68 kB / 393.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003068/0.714, allocations: 429 kB / 394.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/0.7187, allocations: 1.194 MB / 395.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/0.7239, allocations: 1.498 MB / 397 MB, free: 14.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/0.7293, allocations: 1.403 MB / 398.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.7294, allocations: 4 kB / 398.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01929/0.7487, allocations: 4.423 MB / 402.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.606e-05/0.7488, allocations: 37.7 kB / 402.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.7488, allocations: 4 kB / 402.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009076/0.7579, allocations: 1.282 MB / 404.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/0.7635, allocations: 0.5502 MB / 404.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04562/0.8092, allocations: 18.17 MB / 422.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005775/0.815, allocations: 167.8 kB / 423.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009926/0.8161, allocations: 112 kB / 423.2 MB, free: 3.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (306): * Single equations (assignments): 296 * 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%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.00314/0.8192, allocations: 0.5794 MB / 423.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.8204, allocations: 256.8 kB / 424 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2856/1.106, allocations: 4.385 MB / 428.4 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0151/1.121, allocations: 3.839 MB / 432.2 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.121, allocations: 6.781 kB / 432.2 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/1.121, allocations: 18.89 kB / 432.3 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.148, allocations: 8.723 MB / 441 MB, free: 99.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/1.148, allocations: 3.906 kB / 441 MB, free: 99.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004712/1.153, allocations: 480.9 kB / 441.5 MB, free: 99.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008592/1.161, allocations: 1.332 MB / 442.8 MB, free: 99.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006121/1.162, allocations: 73.19 kB / 442.9 MB, free: 99.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/1.192, allocations: 17.01 MB / 459.9 MB, free: 81.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1151/1.307, allocations: 26.67 MB / 486.5 MB, free: 54.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/1.328, allocations: 6.137 MB / 492.7 MB, free: 48.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.33, allocations: 0.5914 MB / 493.3 MB, free: 48.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006443/1.33, allocations: 60 kB / 493.3 MB, free: 47.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/1.334, allocations: 143.9 kB / 493.5 MB, free: 47.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007965/1.335, allocations: 270.7 kB / 493.7 MB, free: 47.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/1.335, allocations: 95.97 kB / 493.8 MB, free: 47.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002163/1.337, allocations: 1.231 MB / 495.1 MB, free: 46.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.337, allocations: 0 / 495.1 MB, free: 46.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00421/1.341, allocations: 0.9453 MB / 496 MB, free: 45.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (243): * Single equations (assignments): 236 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/1.342, allocations: 323 kB / 496.3 MB, free: 45.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01137/1.354, allocations: 4.499 MB / 0.4891 GB, free: 40.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.354, allocations: 0 / 0.4891 GB, free: 40.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008028/1.362, allocations: 3.053 MB / 0.4921 GB, free: 37.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.365, allocations: 312.9 kB / 0.4924 GB, free: 36.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.383, allocations: 7.951 MB / 0.5001 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/1.384, allocations: 1.826 MB / 0.5019 GB, free: 27.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003325/1.388, allocations: 340.4 kB / 0.5022 GB, free: 26.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.389, allocations: 167.4 kB / 0.5024 GB, free: 26.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/1.389, allocations: 0 / 0.5024 GB, free: 26.54 MB / 362.7 MB Notification: Performance of Templates: time 0.15/1.539, allocations: 54.66 MB / 0.5558 GB, free: 3.781 MB / 394.7 MB