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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.938e-05, allocations: 6.188 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08364, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01456/0.09826, allocations: 8.493 MB / 275.4 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007993/0.1063, allocations: 2.814 MB / 278.2 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1085, allocations: 55.88 kB / 278.3 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.1105, allocations: 0.5443 MB / 278.8 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.1142, allocations: 0.8335 MB / 279.7 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.1167, allocations: 0.4992 MB / 280.2 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004719/0.1214, allocations: 1.572 MB / 281.7 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.1227, allocations: 461.9 kB / 282.2 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.1247, allocations: 0.8337 MB / 283 MB, free: 328 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.1272, allocations: 1.055 MB / 284.1 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1283, allocations: 135.8 kB / 284.2 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006128/0.1289, allocations: 104 kB / 284.3 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.1295, allocations: 446.2 kB / 284.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.1304, allocations: 216 kB / 284.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.1357, allocations: 3.206 MB / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1357, allocations: 0 / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1357, allocations: 0 / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.1359, allocations: 7.938 kB / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.009113/0.145, allocations: 2.379 MB / 290.5 MB, free: 8.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1451, allocations: 8.031 kB / 290.5 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.1461, allocations: 288.4 kB / 290.8 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.1505, allocations: 1.375 MB / 292.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.1507, allocations: 148 kB / 292.3 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006104/0.1514, allocations: 200 kB / 292.5 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006528/0.1579, allocations: 1.805 MB / 294.4 MB, free: 4.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/0.158, allocations: 3.906 kB / 294.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.1584, allocations: 80 kB / 294.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.1584, allocations: 52 kB / 294.5 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008027/0.1665, allocations: 1.827 MB / 296.3 MB, free: 2.801 MB / 250.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.2604/0.4269, allocations: 7.11 MB / 303.4 MB, free: 25.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006135/0.4331, allocations: 2.133 MB / 305.6 MB, free: 24.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.4335, allocations: 123.1 kB / 305.7 MB, free: 23.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4336, allocations: 62.14 kB / 305.7 MB, free: 23.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=220): time 5.51e-06/0.4336, allocations: 0 / 305.7 MB, free: 23.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=336): time 0.1119/0.5455, allocations: 16.03 MB / 321.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2062/0.7517, allocations: 30.88 MB / 352.6 MB, free: 228 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.7554, allocations: 1.581 MB / 354.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000648/0.7561, allocations: 82.88 kB / 354.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.7573, allocations: 0.9657 MB / 355.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/0.759, allocations: 1.111 MB / 356.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.7594, allocations: 60 kB / 356.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002999/0.7597, allocations: 424.5 kB / 356.9 MB, free: 12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/0.7642, allocations: 1.17 MB / 358 MB, free: 10.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/0.7694, allocations: 1.453 MB / 359.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.7748, allocations: 1.37 MB / 360.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.7748, allocations: 4 kB / 360.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.01478/0.7896, allocations: 3.859 MB / 364.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.7897, allocations: 39.09 kB / 364.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.7898, allocations: 7.953 kB / 364.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/0.8054, allocations: 1.388 MB / 366.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007596/0.8131, allocations: 0.5656 MB / 366.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.8292, allocations: 9.713 MB / 376.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.8337, allocations: 155.8 kB / 376.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006418/0.8344, allocations: 131.9 kB / 376.7 MB, free: 7.285 MB / 298.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 (292): * Single equations (assignments): 282 * 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 48,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.002/0.8364, allocations: 0.5651 MB / 377.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008333/0.8373, allocations: 245 kB / 377.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.8514, allocations: 3.906 MB / 381.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0154/0.8669, allocations: 3.301 MB / 384.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.8669, allocations: 8 kB / 384.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.945e-05/0.867, allocations: 15.94 kB / 384.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02664/0.8937, allocations: 8.113 MB / 392.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/0.8938, allocations: 4 kB / 392.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005111/0.8989, allocations: 487.5 kB / 393.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/0.9147, allocations: 1.441 MB / 394.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008328/0.9156, allocations: 91.91 kB / 394.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.9339, allocations: 9.745 MB / 404.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4058/1.34, allocations: 27.08 MB / 431.7 MB, free: 105.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/1.358, allocations: 5.489 MB / 437.2 MB, free: 105.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.361, allocations: 0.5821 MB / 437.8 MB, free: 105.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009608/1.362, allocations: 60.66 kB / 437.8 MB, free: 105.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004094/1.366, allocations: 138.2 kB / 438 MB, free: 105.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.367, allocations: 220.5 kB / 438.2 MB, free: 105.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005115/1.367, allocations: 105.1 kB / 438.3 MB, free: 105.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003351/1.371, allocations: 1.237 MB / 439.5 MB, free: 105.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.371, allocations: 0 / 439.5 MB, free: 105.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004684/1.375, allocations: 0.7525 MB / 440.3 MB, free: 105.1 MB / 346.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 (229): * Single equations (assignments): 222 * 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 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/1.377, allocations: 289.7 kB / 440.5 MB, free: 105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/1.389, allocations: 3.791 MB / 444.3 MB, free: 104 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.389, allocations: 3.906 kB / 444.3 MB, free: 104 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007296/1.397, allocations: 2.375 MB / 446.7 MB, free: 102.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.399, allocations: 301.1 kB / 447 MB, free: 102.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.416, allocations: 7.719 MB / 454.7 MB, free: 98.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.418, allocations: 1.74 MB / 456.5 MB, free: 97.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003855/1.422, allocations: 364.7 kB / 456.8 MB, free: 97.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.423, allocations: 196.8 kB / 457 MB, free: 97.42 MB / 346.7 MB Notification: Performance of SimCode: time 2.164e-06/1.423, allocations: 0 / 457 MB, free: 97.42 MB / 346.7 MB Notification: Performance of Templates: time 0.1057/1.529, allocations: 43.4 MB / 0.4887 GB, free: 56.65 MB / 346.7 MB